Class: DropboxApi::Endpoints::Auth::TokenRevoke
- Defined in:
- lib/dropbox_api/endpoints/auth/token_revoke.rb
Constant Summary collapse
- Method =
:post
- Path =
"/2/auth/token/revoke".freeze
- ResultType =
DropboxApi::Results::VoidResult
- ErrorType =
nil
Instance Method Summary collapse
-
#token_revoke ⇒ Object
Revoke the access token for the current account.
Methods inherited from Rpc
#build_request, #initialize, #request_body
Methods inherited from Base
Constructor Details
This class inherits a constructor from DropboxApi::Endpoints::Rpc
Instance Method Details
#token_revoke ⇒ Object
Revoke the access token for the current account
10 11 12 |
# File 'lib/dropbox_api/endpoints/auth/token_revoke.rb', line 10 add_endpoint :token_revoke do perform_request(nil) end |