Method: DropboxClient#file_create_folder
- Defined in:
- lib/dropbox_sdk.rb
#file_create_folder(path) ⇒ Object
Create a folder.
Arguments:
-
path: The path of the new folder.
Returns:
-
A hash with the metadata of the newly created folder. For a detailed description of what this call returns, visit: www.dropbox.com/developers/reference/api#fileops-create-folder
1037 1038 1039 1040 1041 1042 1043 1044 1045 |
# File 'lib/dropbox_sdk.rb', line 1037 def file_create_folder(path) params = { "root" => @root, "path" => format_path(path, false), } response = @session.do_post "/fileops/create_folder", params Dropbox::parse_response(response) end |