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.
465 466 467 |
# File 'lib/s3sync/S3.rb', line 465 def initialize(data, ={}) @data, @metadata = data, end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
463 464 465 |
# File 'lib/s3sync/S3.rb', line 463 def data @data end |
#metadata ⇒ Object
Returns the value of attribute metadata.
464 465 466 |
# File 'lib/s3sync/S3.rb', line 464 def @metadata end |