Class: MarbleApiClient::Responses::ClientError
- Inherits:
-
Object
- Object
- MarbleApiClient::Responses::ClientError
- Includes:
- BodyAttributes, HttpMethods
- Defined in:
- lib/marble_api_client/responses/client_error.rb
Overview
Represents an HTTP 400 response. This will encompass all errors in the 400-499 range.
Direct Known Subclasses
BadRequest, Forbidden, NotFound, Unauthorized, UnprocessableEntity
Instance Method Summary collapse
-
#initialize(response) ⇒ ClientError
constructor
A new instance of ClientError.
Methods included from BodyAttributes
Methods included from HttpMethods
Constructor Details
#initialize(response) ⇒ ClientError
Returns a new instance of ClientError.
17 18 19 |
# File 'lib/marble_api_client/responses/client_error.rb', line 17 def initialize(response) @response = response end |