Class: ActiveCurrency::Configuration
- Inherits:
-
Object
- Object
- ActiveCurrency::Configuration
- Defined in:
- lib/active_currency/configuration.rb
Instance Attribute Summary collapse
-
#multiplier ⇒ Object
Returns the value of attribute multiplier.
-
#open_exchange_rates_app_id ⇒ Object
Returns the value of attribute open_exchange_rates_app_id.
-
#remote_bank ⇒ Object
Returns the value of attribute remote_bank.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 8 9 |
# File 'lib/active_currency/configuration.rb', line 5 def initialize @remote_bank = :eu_central_bank @open_exchange_rates_app_id = nil @multiplier = {} end |
Instance Attribute Details
#multiplier ⇒ Object
Returns the value of attribute multiplier.
11 12 13 |
# File 'lib/active_currency/configuration.rb', line 11 def multiplier @multiplier end |
#open_exchange_rates_app_id ⇒ Object
Returns the value of attribute open_exchange_rates_app_id.
11 12 13 |
# File 'lib/active_currency/configuration.rb', line 11 def open_exchange_rates_app_id @open_exchange_rates_app_id end |
#remote_bank ⇒ Object
Returns the value of attribute remote_bank.
11 12 13 |
# File 'lib/active_currency/configuration.rb', line 11 def remote_bank @remote_bank end |