lib/finix/client.rb in finix-0.14 vs lib/finix/client.rb in finix-0.15

- old
+ new

@@ -6,11 +6,11 @@ module Finix class Client - DEFAULTS = { + DefaultConfig = { :logging_level => 'WARN', :connection_timeout => 60, :read_timeout => 60, :logger => nil, :ssl_verify => true, @@ -19,10 +19,10 @@ attr_reader :conn attr_accessor :config def initialize(options={}) - @config = DEFAULTS.merge options + @config = DefaultConfig.merge options build_conn end def build_conn if config[:logger]