Class: S3::S3Object

Inherits:
Object
  • Object
show all
Defined in:
lib/s3sync/S3.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#dataObject

Returns the value of attribute data.



463
464
465
# File 'lib/s3sync/S3.rb', line 463

def data
  @data
end

#metadataObject

Returns the value of attribute metadata.



464
465
466
# File 'lib/s3sync/S3.rb', line 464

def 
  @metadata
end