Class: S3::S3Object

Inherits:
Object
  • Object
show all
Defined in:
lib/S3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data, metadata = {}) ⇒ S3Object

Returns a new instance of S3Object.



502
503
504
# File 'lib/S3.rb', line 502

def initialize(data, ={})
  @data, @metadata = data, 
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



500
501
502
# File 'lib/S3.rb', line 500

def data
  @data
end

#metadataObject

Returns the value of attribute metadata.



501
502
503
# File 'lib/S3.rb', line 501

def 
  @metadata
end