Sha256: 5941815cb5e49c4c55b13f6bf491dc18f4a5f3afd571e5c3302f2956b5c36e09

Contents?: true

Size: 879 Bytes

Versions: 5

Compression:

Stored size: 879 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 ToolingTokens
          #
          # Exchanges a refresh token for a new app configuration token.
          #
          # @option options [string] :refresh_token
          #   The xoxe refresh token that was issued along with the old app configuration token.
          # @see https://api.slack.com/methods/tooling.tokens.rotate
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/tooling.tokens/tooling.tokens.rotate.json
          def tooling_tokens_rotate(options = {})
            raise ArgumentError, 'Required arguments :refresh_token missing' if options[:refresh_token].nil?
            post('tooling.tokens.rotate', options)
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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