Class: S3::S3Object
- Inherits:
-
Object
- Object
- S3::S3Object
- Defined in:
- lib/s3sync/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.
460 461 462 |
# File 'lib/s3sync/S3.rb', line 460 def initialize(data, ={}) @data, @metadata = data, end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
458 459 460 |
# File 'lib/s3sync/S3.rb', line 458 def data @data end |
#metadata ⇒ Object
Returns the value of attribute metadata.
459 460 461 |
# File 'lib/s3sync/S3.rb', line 459 def @metadata end |