Exception: Europeana::API::Errors::Base

Inherits:
StandardError
  • Object
show all
Defined in:
lib/europeana/api/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_responseObject (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