class MaxExchangeApi::Config
Attributes
logger[RW]
timeout[RW]
Public Class Methods
new(data = nil)
click to toggle source
# File lib/max_exchange_api/config.rb, line 8 def initialize(data = nil) data ||= {} @timeout = data[:timeout] @logger = data[:logger] end
Public Instance Methods
reverse_merge!(other)
click to toggle source
# File lib/max_exchange_api/config.rb, line 14 def reverse_merge!(other) @timeout ||= other.timeout @logger ||= other.logger end