Class: S3::S3Object
- Inherits:
 - 
      Object
      
        
- Object
 - S3::S3Object
 
 
- Defined in:
 - lib/s3-ruby.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.
      436 437 438  | 
    
      # File 'lib/s3-ruby.rb', line 436 def initialize(data, ={}) @data, @metadata = data, end  | 
  
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
      434 435 436  | 
    
      # File 'lib/s3-ruby.rb', line 434 def data @data end  | 
  
#metadata ⇒ Object
Returns the value of attribute metadata.
      435 436 437  | 
    
      # File 'lib/s3-ruby.rb', line 435 def @metadata end  |