Class: Danconia::Exchanges::FixedRates
- Inherits:
-
Danconia::Exchange
- Object
- Danconia::Exchange
- Danconia::Exchanges::FixedRates
- Defined in:
- lib/danconia/exchanges/fixed_rates.rb
Instance Method Summary collapse
-
#initialize(rates: {}) ⇒ FixedRates
constructor
A new instance of FixedRates.
- #rates(**_opts) ⇒ Object
Methods inherited from Danconia::Exchange
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 |