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

- old
+ new

@@ -6,11 +6,11 @@ module Finix class Client - DefaultConfig = { + DEFAULT_CONFIG = { :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 = DefaultConfig.merge options + @config = DEFAULT_CONFIG.merge options build_conn end def build_conn if config[:logger]