Class: AWS::S3::S3Object::Value
Overview
:nodoc:
Instance Attribute Summary collapse
-
#response ⇒ Object
readonly
Returns the value of attribute response.
Instance Method Summary collapse
-
#initialize(response) ⇒ Value
constructor
A new instance of Value.
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
#response ⇒ Object (readonly)
Returns the value of attribute response.
318 319 320 |
# File 'lib/aws/s3/object.rb', line 318 def response @response end |