class InoxConverter::CurrencyAdapter
Public Instance Methods
convert(valueToConvert, firstUnit, secondUnit)
click to toggle source
subscrible of metod convert in adapter
# File lib/inox_converter/currency_adapter.rb, line 9 def convert(valueToConvert, firstUnit, secondUnit) @api = Api::Api.new @api.convert_currency(valueToConvert, firstUnit, secondUnit) end