Class: SdbDal::S3::S3Object

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of S3Object.



345
346
347
# File 'lib/sdb_dal/s3.rb', line 345

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

Instance Attribute Details

#dataObject

Returns the value of attribute data.



343
344
345
# File 'lib/sdb_dal/s3.rb', line 343

def data
  @data
end

#metadataObject

Returns the value of attribute metadata.



344
345
346
# File 'lib/sdb_dal/s3.rb', line 344

def 
  @metadata
end