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.



293
294
295
296
# File 'lib/aws/s3/object.rb', line 293

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

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response.



292
293
294
# File 'lib/aws/s3/object.rb', line 292

def response
  @response
end