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
1029 1030 1031 1032 1033 1034 1035 1036 1037 |
# File 'lib/dropbox_sdk.rb', line 1029 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 |