Sha256: 1b0cbc5dfef1ccebe4b18ab6366e2b1b651f44f877ac2af599d81cc46f6ec5eb

Contents?: true

Size: 368 Bytes

Versions: 7

Compression:

Stored size: 368 Bytes

Contents

module DropboxApi::Endpoints::Auth
  class TokenRevoke < DropboxApi::Endpoints::Rpc
    Method      = :post
    Path        = "/2/auth/token/revoke".freeze
    ResultType  = DropboxApi::Results::VoidResult
    ErrorType   = nil

    # Revoke the access token for the current account
    #
    add_endpoint :token_revoke do
      perform_request(nil)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
dropbox_api-0.1.18 lib/dropbox_api/endpoints/auth/token_revoke.rb
dropbox_api-0.1.17 lib/dropbox_api/endpoints/auth/token_revoke.rb
dropbox_api-0.1.16 lib/dropbox_api/endpoints/auth/token_revoke.rb
dropbox_api-0.1.15 lib/dropbox_api/endpoints/auth/token_revoke.rb
dropbox_api-0.1.14 lib/dropbox_api/endpoints/auth/token_revoke.rb
dropbox_api-0.1.13 lib/dropbox_api/endpoints/auth/token_revoke.rb
dropbox_api-0.1.12 lib/dropbox_api/endpoints/auth/token_revoke.rb