Class: DropboxApi::Metadata::Folder

Inherits:
Base
  • Object
show all
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_hashObject



16
17
18
# File 'lib/dropbox_api/metadata/folder.rb', line 16

def to_hash
  super.merge(".tag" => "folder")
end