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'
- 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_connection, #build_request, #request_body
Methods inherited from Base
Constructor Details
This class inherits a constructor from DropboxApi::Endpoints::Base
Instance Method Details
#token_revoke ⇒ Object
Revoke the access token for the current account
11 12 13 |
# File 'lib/dropbox_api/endpoints/auth/token_revoke.rb', line 11 add_endpoint :token_revoke do perform_request(nil) end |