Class: AWS::Core::RESTClient::OutputHandler
- Inherits:
-
Object
- Object
- AWS::Core::RESTClient::OutputHandler
- Defined in:
- lib/aws/core/rest_client/output_handler.rb
Overview
Given a hash of request options, a REST::RequestHandler can populate a Core::Http::Request object.
Instance Method Summary collapse
-
#extract_data(response) ⇒ Hash
Given a response object, this method extract and returns a hash of response data.
Instance Method Details
#extract_data(response) ⇒ Hash
Given a response object, this method extract and returns a hash of response data.
35 36 37 |
# File 'lib/aws/core/rest_client/output_handler.rb', line 35 def extract_data response @parser.parse(response.http_response.body) end |