Class: MarbleApiClient::Responses::ClientError

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

Instance Method Summary collapse

Methods included from BodyAttributes

included

Methods included from HttpMethods

#body, #code

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