Exception: ECB::Exchange::CurrencyNotFoundError
- Defined in:
- lib/ecb/exchange/errors.rb
Instance Method Summary collapse
-
#initialize(currency_code) ⇒ CurrencyNotFoundError
constructor
A new instance of CurrencyNotFoundError.
Constructor Details
#initialize(currency_code) ⇒ CurrencyNotFoundError
Returns a new instance of CurrencyNotFoundError.
12 13 14 |
# File 'lib/ecb/exchange/errors.rb', line 12 def initialize(currency_code) super("#{currency_code} is missing or unavailable") end |