Class: RightAws::S3Interface::S3HttpResponseBodyParser

Inherits:
S3HttpResponseParser show all
Defined in:
lib/s3/right_s3_interface.rb

Overview

:nodoc:

Instance Attribute Summary

Attributes inherited from S3HttpResponseParser

#result

Instance Method Summary collapse

Methods inherited from S3HttpResponseParser

#headers_to_string

Instance Method Details

#parse(response) ⇒ Object



1183
1184
1185
1186
1187
1188
# File 'lib/s3/right_s3_interface.rb', line 1183

def parse(response)
  @result = { 
    :object  => response.body, 
    :headers => headers_to_string(response.to_hash)
  }
end