Class: ExchangerLocal

Inherits:
ExchangerBase show all
Defined in:
lib/mrpin/core/currency_exchanger/local/exchanger_local.rb

Overview

used only local

Instance Method Summary collapse

Constructor Details

#initializeExchangerLocal

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