Sha256: 533324445fa91346f6fd7bfd95b795075b6f3dc514ecf96211f90d2a06438b03

Contents?: true

Size: 872 Bytes

Versions: 4

Compression:

Stored size: 872 Bytes

Contents

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

module Slack
  module Cli
    class App
      desc 'AppsEventAuthorizations methods.'
      command 'apps_event_authorizations' do |g|
        g.desc 'Get a list of authorizations for the given event context. Each authorization represents an app installation that the event is visible to.'
        g.long_desc %( Get a list of authorizations for the given event context. Each authorization represents an app installation that the event is visible to. )
        g.command 'list' do |c|
          c.flag 'event_context', desc: '.'
          c.flag 'cursor', desc: '.'
          c.flag 'limit', desc: '.'
          c.action do |_global_options, options, _args|
            puts JSON.dump(@client.apps_event_authorizations_list(options))
          end
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 bin/commands/apps_event_authorizations.rb
slack-ruby-client-2.3.0 bin/commands/apps_event_authorizations.rb
slack-ruby-client-2.2.0 bin/commands/apps_event_authorizations.rb
slack-ruby-client-2.1.0 bin/commands/apps_event_authorizations.rb