mirror of
https://github.com/wahyd4/ruby-sdk.git
synced 2026-08-09 04:46:10 +10:00
real merge
This commit is contained in:
+1
-1
@@ -49,7 +49,7 @@ module Qiniu
|
||||
end
|
||||
|
||||
def initialize_connect options = {}
|
||||
@settings = DEFAULT_OPTIONS.merge(options)
|
||||
@settings = DEFAULT_OPTIONS.merge!(options)
|
||||
REQUIRED_OPTION_KEYS.each do |opt|
|
||||
raise MissingArgsError, [opt] unless @settings.has_key?(opt)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user