Class: SimplyReddit::BaseClient::Response
- Inherits:
-
Struct
- Object
- Struct
- SimplyReddit::BaseClient::Response
- Defined in:
- lib/simply_reddit/base_client.rb
Overview
Response struct to wrap API responses
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
-
#headers ⇒ Object
Returns the value of attribute headers.
-
#status ⇒ Object
Returns the value of attribute status.
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body
5 6 7 |
# File 'lib/simply_reddit/base_client.rb', line 5 def body @body end |
#headers ⇒ Object
Returns the value of attribute headers
5 6 7 |
# File 'lib/simply_reddit/base_client.rb', line 5 def headers @headers end |
#status ⇒ Object
Returns the value of attribute status
5 6 7 |
# File 'lib/simply_reddit/base_client.rb', line 5 def status @status end |