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

Inherits:
String
  • Object
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!, #to_header, #underscore

Constructor Details

#initialize(response) ⇒ Value

Returns a new instance of Value.



272
273
274
275
# File 'lib/aws/s3/object.rb', line 272

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

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



271
272
273
# File 'lib/aws/s3/object.rb', line 271

def response
  @response
end