Class: AWS::S3::S3Object::Value

Inherits:
String show all
Defined in:
lib/aws/s3/object.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from String

#previous, #previous!, #remove_extended, #remove_extended!, #tap, #to_header, #underscore, #valid_utf8?

Constructor Details

#initialize(response) ⇒ Value

Returns a new instance of Value.



319
320
321
322
# File 'lib/aws/s3/object.rb', line 319

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

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



318
319
320
# File 'lib/aws/s3/object.rb', line 318

def response
  @response
end