Class: Dropbox::FolderMetadata
- Defined in:
- lib/dropbox/metadata.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Attributes inherited from Metadata
#name, #path_display, #path_lower
Instance Method Summary collapse
-
#initialize(attrs = {}) ⇒ FolderMetadata
constructor
A new instance of FolderMetadata.
Constructor Details
#initialize(attrs = {}) ⇒ FolderMetadata
Returns a new instance of FolderMetadata.
32 33 34 35 |
# File 'lib/dropbox/metadata.rb', line 32 def initialize(attrs={}) @id = attrs.delete('id') super(attrs) end |
Instance Attribute Details
#id ⇒ Object (readonly)
Returns the value of attribute id.
30 31 32 |
# File 'lib/dropbox/metadata.rb', line 30 def id @id end |