Class: DropboxApi::Metadata::Folder
- Defined in:
- lib/dropbox_api/metadata/folder.rb
Overview
Example of a serialized Folder object:
{
"name": "arizona_baby",
"path_lower": "/arizona_baby",
"path_display": "/arizona_baby",
"id": "id:7eWkV5hcfzAAAAAAAAAAAQ"
}
Instance Method Summary collapse
Methods inherited from Base
field, #initialize, #serialized_field
Constructor Details
This class inherits a constructor from DropboxApi::Metadata::Base
Instance Method Details
#to_hash ⇒ Object
20 21 22 |
# File 'lib/dropbox_api/metadata/folder.rb', line 20 def to_hash super.merge('.tag' => 'folder') end |