Exception: Money::Bank::NoApiKey
- Inherits:
-
StandardError
- Object
- StandardError
- Money::Bank::NoApiKey
- Defined in:
- lib/money/bank/json_rates.rb
Overview
Exception that will be thrown if api_key was not specified.
Instance Method Summary collapse
-
#message ⇒ Object
Default message.
Instance Method Details
#message ⇒ Object
Default message.
18 19 20 |
# File 'lib/money/bank/json_rates.rb', line 18 def "Blank api_key! You should get your api_key on jsonrates.com and specify it like JsonRates.api_key = YOUR_API_KEY" end |