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


323
324
325
326
# File 'lib/aws/s3/object.rb', line 323

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

Instance Attribute Details

#responseObject (readonly)

Returns the value of attribute response


322
323
324
# File 'lib/aws/s3/object.rb', line 322

def response
  @response
end