Exception: WCC::Contentful::SimpleClient::ApiError
- Inherits:
-
StandardError
- Object
- StandardError
- WCC::Contentful::SimpleClient::ApiError
show all
- Defined in:
- lib/wcc/contentful/simple_client/response.rb
Instance Attribute Summary collapse
Class Method Summary
collapse
Instance Method Summary
collapse
Constructor Details
#initialize(response) ⇒ ApiError
Returns a new instance of ApiError.
210
211
212
213
|
# File 'lib/wcc/contentful/simple_client/response.rb', line 210
def initialize(response)
@response = response
super(response.error_message)
end
|
Instance Attribute Details
#response ⇒ Object
195
196
197
|
# File 'lib/wcc/contentful/simple_client/response.rb', line 195
def response
@response
end
|