Sha256: aeb0fad30e99b5105b737a640aac4a32745463662500e931010d8016840c7e44

Contents?: true

Size: 837 Bytes

Versions: 9

Compression:

Stored size: 837 Bytes

Contents

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

desc 'AppsPermissions methods.'
command 'apps_permissions' do |g|
  g.desc 'Returns list of permissions this app has on a team.'
  g.long_desc %( Returns list of permissions this app has on a team. )
  g.command 'info' do |c|
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.apps_permissions_info(options))
    end
  end

  g.desc 'Allows an app to request additional scopes'
  g.long_desc %( Allows an app to request additional scopes )
  g.command 'request' do |c|
    c.flag 'scopes', desc: 'A comma separated list of scopes to request for.'
    c.flag 'trigger_id', desc: 'Token used to trigger the permissions API.'
    c.action do |_global_options, options, _args|
      puts JSON.dump($client.apps_permissions_request(options))
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
slack-ruby-client-0.14.1 bin/commands/apps_permissions.rb
slack-ruby-client-0.14.0 bin/commands/apps_permissions.rb
slack-ruby-client-0.13.1 bin/commands/apps_permissions.rb
slack-ruby-client-0.13.0 bin/commands/apps_permissions.rb
slack-ruby-client-0.12.0 bin/commands/apps_permissions.rb
slack-ruby-client-0.11.1 bin/commands/apps_permissions.rb
slack-ruby-client-0.11.0 bin/commands/apps_permissions.rb
slack-ruby-client-0.10.0 bin/commands/apps_permissions.rb
slack-ruby-client-0.9.1 bin/commands/apps_permissions.rb