class Monee::NoConfig

inherits from config and this the null object for config with default values

@see en.wikipedia.org/wiki/Null_Object_pattern

Constants

DEFAULT_BASE_CURRENCY

default base currecy

DEFAULT_CURRENCY_RATES

default currency_rates

Public Instance Methods

base_currency() click to toggle source

@return [String]

# File lib/monee/no_config.rb, line 18
def base_currency
  DEFAULT_BASE_CURRENCY
end
currency_rates() click to toggle source

@return [Hash]

# File lib/monee/no_config.rb, line 23
def currency_rates
  DEFAULT_CURRENCY_RATES
end