lib/onering/api.rb in onering-client-0.2.3 vs lib/onering/api.rb in onering-client-0.2.4
- old
+ new
@@ -39,9 +39,10 @@
DEFAULT_VALIDATION_PEM="/etc/onering/validation.pem"
def initialize(options={})
@_plugins = {}
+ options = {} if options.nil?
@_connection_options = options
# load and merge all config file sources
Onering::Config.load(@_connection_options[:configfile], @_connection_options.get(:config, {}))