Sha256: 760ddc2d724979a3113fa11da442cd18d0d057b2012ecd3c158bfbcd106a0beb

Contents?: true

Size: 574 Bytes

Versions: 3

Compression:

Stored size: 574 Bytes

Contents

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

desc 'ToolingTokens methods.'
command 'tooling_tokens' do |g|
  g.desc 'Exchanges a refresh token for a new app configuration token.'
  g.long_desc %( Exchanges a refresh token for a new app configuration token. )
  g.command 'rotate' do |c|
    c.flag 'refresh_token', desc: 'The xoxe refresh token that was issued along with the old app configuration token.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.tooling_tokens_rotate(options))
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slack-ruby-client-2.0.0 bin/commands/tooling_tokens.rb
slack-ruby-client-1.1.0 bin/commands/tooling_tokens.rb
slack-ruby-client-1.0.0 bin/commands/tooling_tokens.rb