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.



462
463
464
# File 'lib/S3.rb', line 462

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

Instance Attribute Details

#dataObject

Returns the value of attribute data.



460
461
462
# File 'lib/S3.rb', line 460

def data
  @data
end

#metadataObject

Returns the value of attribute metadata.



461
462
463
# File 'lib/S3.rb', line 461

def 
  @metadata
end