Class: S3::S3Object

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of S3Object.



436
437
438
# File 'lib/s3-ruby.rb', line 436

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

Instance Attribute Details

#dataObject

Returns the value of attribute data.



434
435
436
# File 'lib/s3-ruby.rb', line 434

def data
  @data
end

#metadataObject

Returns the value of attribute metadata.



435
436
437
# File 'lib/s3-ruby.rb', line 435

def 
  @metadata
end