Class: Dropbox::Metadata
- Inherits:
-
Object
- Object
- Dropbox::Metadata
- Defined in:
- lib/dropbox/metadata.rb
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.
7 8 9 10 11 |
# File 'lib/dropbox/metadata.rb', line 7 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.
5 6 7 |
# File 'lib/dropbox/metadata.rb', line 5 def name @name end |
#path_display ⇒ Object (readonly)
Returns the value of attribute path_display.
5 6 7 |
# File 'lib/dropbox/metadata.rb', line 5 def path_display @path_display end |
#path_lower ⇒ Object (readonly)
Returns the value of attribute path_lower.
5 6 7 |
# File 'lib/dropbox/metadata.rb', line 5 def path_lower @path_lower end |