Class: Dropbox::Metadata
- Inherits:
 - 
      Object
      
        
- Object
 - Dropbox::Metadata
 
 
- Defined in:
 - lib/dropbox/metadata.rb
 
Overview
Abstract class inherited by the other metadata classes.
Direct Known Subclasses
Instance Attribute Summary collapse
- 
  
    
      #name  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute name.
 - 
  
    
      #path_display  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute path_display.
 - 
  
    
      #path_lower  ⇒ Object 
    
    
  
  
  
  
    
      readonly
    
    
  
  
  
  
  
  
    
Returns the value of attribute path_lower.
 
Instance Method Summary collapse
- 
  
    
      #initialize(attrs = {})  ⇒ Metadata 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Metadata.
 
Constructor Details
#initialize(attrs = {}) ⇒ Metadata
Returns a new instance of Metadata.
      8 9 10 11 12  | 
    
      # File 'lib/dropbox/metadata.rb', line 8 def initialize(attrs={}) @name = attrs['name'] @path_lower = attrs['path_lower'] @path_display = attrs['path_display'] end  | 
  
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
      6 7 8  | 
    
      # File 'lib/dropbox/metadata.rb', line 6 def name @name end  | 
  
#path_display ⇒ Object (readonly)
Returns the value of attribute path_display.
      6 7 8  | 
    
      # File 'lib/dropbox/metadata.rb', line 6 def path_display @path_display end  | 
  
#path_lower ⇒ Object (readonly)
Returns the value of attribute path_lower.
      6 7 8  | 
    
      # File 'lib/dropbox/metadata.rb', line 6 def path_lower @path_lower end  |