Skip to content

Commit

Permalink
Add permanently_delete method
Browse files Browse the repository at this point in the history
  • Loading branch information
waits committed Jun 21, 2016
1 parent 3696d31 commit 6de819e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/dropbox/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,15 @@ def move(from_path, to_path)
parse_tagged_response(resp)
end

# Permanently delete the file or folder at a given path.
#
# @param [String] path
# @return [void]
def permanently_delete(path)
request('/files/permanently_delete', path: path)
nil
end

# Restore a file to a specific revision.
#
# @param [String] path
Expand Down

0 comments on commit 6de819e

Please sign in to comment.