Sha256: 7c362c88b7c4c06a54e89ca56243f2fa923a7624279db2862672ca8c6a95b9ec

Contents?: true

Size: 1004 Bytes

Versions: 7

Compression:

Stored size: 1004 Bytes

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

module Slack
  module Web
    module Api
      module Endpoints
        module Auth
          #
          # Revokes a token.
          #
          # @option options [boolean] :test
          #   Setting this parameter to 1 triggers a testing mode where the specified token will not actually be revoked.
          # @see https://api.slack.com/methods/auth.revoke
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/auth/auth.revoke.json
          def auth_revoke(options = {})
            post('auth.revoke', options)
          end

          #
          # Checks authentication & identity.
          #
          # @see https://api.slack.com/methods/auth.test
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/auth/auth.test.json
          def auth_test(options = {})
            post('auth.test', options)
          end
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 lib/slack/web/api/endpoints/auth.rb
slack-ruby-client-2.3.0 lib/slack/web/api/endpoints/auth.rb
slack-ruby-client-2.2.0 lib/slack/web/api/endpoints/auth.rb
slack-ruby-client-2.1.0 lib/slack/web/api/endpoints/auth.rb
slack-ruby-client-2.0.0 lib/slack/web/api/endpoints/auth.rb
slack-ruby-client-1.1.0 lib/slack/web/api/endpoints/auth.rb
slack-ruby-client-1.0.0 lib/slack/web/api/endpoints/auth.rb