Method: AWS::S3::Base::Response#initialize

Defined in:
lib/aws/s3/response.rb

#initialize(response) ⇒ Response

Returns a new instance of Response.


7
8
9
10
11
# File 'lib/aws/s3/response.rb', line 7

def initialize(response)
  @response = response
  @body     = response.body.to_s
  super(body)
end