Class: Dropbox::FolderMetadata

Inherits:
Metadata
  • Object
show all
Defined in:
lib/dropbox/metadata.rb

Instance Attribute Summary collapse

Attributes inherited from Metadata

#name, #path_display, #path_lower

Instance Method Summary collapse

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

#idObject (readonly)

Returns the value of attribute id.



30
31
32
# File 'lib/dropbox/metadata.rb', line 30

def id
  @id
end