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.



460
461
462
# File 'lib/s3sync/S3.rb', line 460

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

Instance Attribute Details

#dataObject

Returns the value of attribute data.



458
459
460
# File 'lib/s3sync/S3.rb', line 458

def data
  @data
end

#metadataObject

Returns the value of attribute metadata.



459
460
461
# File 'lib/s3sync/S3.rb', line 459

def 
  @metadata
end