Class: Headless::APIClient::APIResponse
- Inherits:
-
Struct
- Object
- Struct
- Headless::APIClient::APIResponse
- Defined in:
- lib/headless/api_client.rb
Instance Attribute Summary collapse
-
#response ⇒ Object
Returns the value of attribute response.
Instance Method Summary collapse
Instance Attribute Details
#response ⇒ Object
Returns the value of attribute response
15 16 17 |
# File 'lib/headless/api_client.rb', line 15 def response @response end |
Instance Method Details
#content ⇒ Object
17 18 19 |
# File 'lib/headless/api_client.rb', line 17 def content parsed_response["content"] end |