Sha256: 0ddf5ee43732a11a75cb97f89ef1e72ef5f95479a054802bd062aadb4e57f58d

Contents?: true

Size: 1003 Bytes

Versions: 6

Compression:

Stored size: 1003 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 [Object] :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

6 entries across 6 versions & 1 rubygems

Version Path
slack-ruby-client-0.17.0 lib/slack/web/api/endpoints/auth.rb
slack-ruby-client-0.16.0 lib/slack/web/api/endpoints/auth.rb
slack-ruby-client-0.15.1 lib/slack/web/api/endpoints/auth.rb
slack-ruby-client-0.15.0 lib/slack/web/api/endpoints/auth.rb
slack-ruby-client-0.14.6 lib/slack/web/api/endpoints/auth.rb
slack-ruby-client-0.14.5 lib/slack/web/api/endpoints/auth.rb