Class: ExchangerLocal
- Inherits:
-
ExchangerBase
- Object
- ExchangerBase
- ExchangerLocal
- Defined in:
- lib/mrpin/core/currency_exchanger/local/exchanger_local.rb
Overview
used only local
Instance Method Summary collapse
- #get_rate(from_currency, to_currency) ⇒ Object
-
#initialize ⇒ ExchangerLocal
constructor
A new instance of ExchangerLocal.
Constructor Details
#initialize ⇒ ExchangerLocal
Returns a new instance of ExchangerLocal.
14 15 16 |
# File 'lib/mrpin/core/currency_exchanger/local/exchanger_local.rb', line 14 def initialize super end |
Instance Method Details
#get_rate(from_currency, to_currency) ⇒ Object
19 20 21 |
# File 'lib/mrpin/core/currency_exchanger/local/exchanger_local.rb', line 19 def get_rate(from_currency, to_currency) 1.0 end |