Class: MarbleApiClient::Responses::Success
- Inherits:
-
Object
- Object
- MarbleApiClient::Responses::Success
- 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.
Instance Method Summary collapse
-
#initialize(response) ⇒ Success
constructor
A new instance of Success.
Methods included from BodyAttributes
Methods included from HttpMethods
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 |