Class: DropboxApi::Endpoints::Sharing::UnshareFile
- Defined in:
- lib/dropbox_api/endpoints/sharing/unshare_file.rb
Constant Summary collapse
- Method =
:post
- Path =
"/2/sharing/unshare_file".freeze
- ResultType =
DropboxApi::Results::VoidResult
- ErrorType =
DropboxApi::Errors::UnshareFileError
Instance Method Summary collapse
-
#unshare_file(file) ⇒ Object
Remove all members from this file.
Methods inherited from Rpc
Methods inherited from Base
Constructor Details
This class inherits a constructor from DropboxApi::Endpoints::Rpc
Instance Method Details
#unshare_file(file) ⇒ Object
Remove all members from this file. Does not remove inherited members.
A successful response indicates that the file was unshared.
13 14 15 16 17 |
# File 'lib/dropbox_api/endpoints/sharing/unshare_file.rb', line 13 add_endpoint :unshare_file do |file| perform_request({ :file => file }) end |