Class: MarbleApiClient::Responses::ServerError

Inherits:
Object
  • Object
show all
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

NotImplemented

Instance Method Summary collapse

Methods included from BodyAttributes

included

Methods included from HttpMethods

#body, #code

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