Class: Gera::RateSourceManual

Inherits:
RateSource show all
Defined in:
app/models/gera/rate_source_manual.rb

Constant Summary

Constants inherited from RateSource

Gera::RateSource::RateNotFound

Class Method Summary collapse

Methods inherited from RateSource

#actual_rates, #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

.available_pairsObject



9
10
11
# File 'app/models/gera/rate_source_manual.rb', line 9

def self.available_pairs
  CurrencyPair.all
end

.supported_currenciesObject



5
6
7
# File 'app/models/gera/rate_source_manual.rb', line 5

def self.supported_currencies
  Money::Currency.all
end