Exception: ExchangeRatesAPI::AuthenticationError
- Defined in:
- lib/exchangeratesapi/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
-
#initialize(message = nil, error_response: nil) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(message = nil, error_response: nil) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
26 27 28 |
# File 'lib/exchangeratesapi/errors.rb', line 26 def initialize( = nil, error_response: nil) super( || "Authentication failed", error_response: error_response) end |