mirror of
https://github.com/wahyd4/ruby-sdk.git
synced 2026-08-09 04:46:10 +10:00
string keys to symbol
This commit is contained in:
@@ -41,6 +41,7 @@ module Qiniu
|
||||
def load config_file
|
||||
if File.exist?(config_file)
|
||||
config_options = YAML.load_file(config_file)
|
||||
config_options.symbolize_keys!
|
||||
initialize_connect(config_options)
|
||||
else
|
||||
raise MissingConfError, config_file
|
||||
|
||||
Reference in New Issue
Block a user