Exception: Europeana::API::Errors::Base
- Inherits:
-
StandardError
- Object
- StandardError
- Europeana::API::Errors::Base
- Defined in:
- lib/europeana/api/errors.rb
Direct Known Subclasses
ClientError, MissingAPIKeyError, PaginationError, RequestError, ResourceNotFoundError, ResponseError, ServerError
Instance Attribute Summary collapse
-
#faraday_response ⇒ Object
readonly
Returns the value of attribute faraday_response.
Instance Method Summary collapse
-
#initialize(faraday_response) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(faraday_response) ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/europeana/api/errors.rb', line 8 def initialize(faraday_response) @faraday_response = faraday_response end |
Instance Attribute Details
#faraday_response ⇒ Object (readonly)
Returns the value of attribute faraday_response.
6 7 8 |
# File 'lib/europeana/api/errors.rb', line 6 def faraday_response @faraday_response end |