Class: Danconia::Exchanges::FixedRates

Inherits:
Danconia::Exchange show all
Defined in:
lib/danconia/exchanges/fixed_rates.rb

Instance Method Summary collapse

Methods inherited from Danconia::Exchange

#rate

Constructor Details

#initialize(rates: {}) ⇒ FixedRates

Returns a new instance of FixedRates.



4
5
6
# File 'lib/danconia/exchanges/fixed_rates.rb', line 4

def initialize rates: {}
  @rates = rates
end

Instance Method Details

#rates(**_opts) ⇒ Object



8
9
10
# File 'lib/danconia/exchanges/fixed_rates.rb', line 8

def rates **_opts
  @rates
end