Class: Flatpack::Client::JsonRequest
- Defined in:
- lib/flatpack/client/json_request.rb
Overview
A Request that interprets the server response as JSON.
Instance Attribute Summary
Attributes inherited from Request
Instance Method Summary collapse
Methods inherited from Request
#execute, #header, #initialize, #query_parameter
Constructor Details
This class inherits a constructor from Flatpack::Client::Request
Instance Method Details
#process_response(response) ⇒ Object
7 8 9 |
# File 'lib/flatpack/client/json_request.rb', line 7 def process_response(response) parse_json(response) end |