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