Class: MarbleApiClient::Responses::Success

Inherits:
Object
  • Object
show all
Includes:
BodyAttributes, HttpMethods
Defined in:
lib/marble_api_client/responses/success.rb

Overview

Represents an HTTP 200 response. This will encompass all errors in the 200-299 range.

Direct Known Subclasses

List, Record

Instance Method Summary collapse

Methods included from BodyAttributes

included

Methods included from HttpMethods

#body, #code

Constructor Details

#initialize(response) ⇒ Success

Returns a new instance of Success.



17
18
19
# File 'lib/marble_api_client/responses/success.rb', line 17

def initialize(response)
  @response = response
end