lib/monee/money.rb
# Configures the config singleton class with default values
#
# @param base_currency [String]
# @param currency_rates [Hash]
# @return [void]
Configures the config singleton class with default values
Configures the config singleton class with default values
def conversion_rates(base_currency, currency_rates)
        Currency.configure do |config|
          config.base_currency = base_currency
          config.currency_rates = currency_rates
          config.set_default_rate
        end
      end
def conversion_rates ( base_currency , currency_rates ) Currency . configure do | config | config . base_currency = base_currency config . currency_rates = currency_rates config . set_default_rate end end
Configures the config singleton class with default values
Configures the config singleton class with default values
None
void
base_currency
<not_specific>
currency_rates
<not_specific>
<not_specific>
None