Exception: OpenExchangeRates::Rates::RateNotFoundError
- Inherits:
-
StandardError
- Object
- StandardError
- OpenExchangeRates::Rates::RateNotFoundError
- Defined in:
- lib/open_exchange_rates/rates.rb
Instance Method Summary collapse
-
#initialize(from_curr, to_curr) ⇒ RateNotFoundError
constructor
A new instance of RateNotFoundError.
Constructor Details
#initialize(from_curr, to_curr) ⇒ RateNotFoundError
Returns a new instance of RateNotFoundError.
14 15 16 17 |
# File 'lib/open_exchange_rates/rates.rb', line 14 def initialize(from_curr, to_curr) msg = "Rate not found for #{from_curr} => #{to_curr}" super(msg) end |