Class: MarbleApiClient::Responses::ServerError
- Inherits:
-
Object
- Object
- MarbleApiClient::Responses::ServerError
- Includes:
- BodyAttributes, HttpMethods
- Defined in:
- lib/marble_api_client/responses/server_error.rb
Overview
Represents an HTTP 500 response. This will encompass all errors in the 500-599 range.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(response) ⇒ ServerError
constructor
A new instance of ServerError.
Methods included from BodyAttributes
Methods included from HttpMethods
Constructor Details
#initialize(response) ⇒ ServerError
Returns a new instance of ServerError.
19 20 21 |
# File 'lib/marble_api_client/responses/server_error.rb', line 19 def initialize(response) @response = response end |