Class: Gera::RateSourceBitfinex
- Inherits:
-
RateSource
- Object
- ApplicationRecord
- ApplicationRecord
- RateSource
- Gera::RateSourceBitfinex
- Defined in:
- app/models/gera/rate_source_bitfinex.rb
Constant Summary
Constants inherited from RateSource
Gera::RateSource::RateNotFound
Class Method Summary collapse
Methods inherited from RateSource
#actual_rates, available_pairs, #find_rate_by_currency_pair, #find_rate_by_currency_pair!, get!, #is_currency_supported?, #to_s
Methods included from CurrencyPairGenerator
#generate_pairs_from_currencies
Class Method Details
.supported_currencies ⇒ Object
5 6 7 |
# File 'app/models/gera/rate_source_bitfinex.rb', line 5 def self.supported_currencies i[NEO BTC ETH EUR USD].map { |m| Money::Currency.find! m } end |