Class: SdbDal::S3::S3Object
- Inherits:
-
Object
- Object
- SdbDal::S3::S3Object
- Defined in:
- lib/sdb_dal/s3.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#metadata ⇒ Object
Returns the value of attribute metadata.
Instance Method Summary collapse
-
#initialize(data, metadata = {}) ⇒ S3Object
constructor
A new instance of S3Object.
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
#data ⇒ Object
Returns the value of attribute data.
343 344 345 |
# File 'lib/sdb_dal/s3.rb', line 343 def data @data end |
#metadata ⇒ Object
Returns the value of attribute metadata.
344 345 346 |
# File 'lib/sdb_dal/s3.rb', line 344 def @metadata end |