module Slack::Web::Api::Endpoints::AppsEventAuthorizations
Public Instance Methods
apps_event_authorizations_list(options = {}) { |page| ... }
click to toggle source
Get a list of authorizations for the given event context. Each authorization represents an app installation that the event is visible to.
@option options [Object] :event_context
.
@option options [Object] :cursor
.
@option options [Object] :limit
.
@see api.slack.com/methods/apps.event.authorizations.list @see github.com/slack-ruby/slack-api-ref/blob/master/methods/apps.event.authorizations/apps.event.authorizations.list.json
# File lib/slack/web/api/endpoints/apps_event_authorizations.rb, line 20 def apps_event_authorizations_list(options = {}) throw ArgumentError.new('Required arguments :event_context missing') if options[:event_context].nil? if block_given? Pagination::Cursor.new(self, :apps_event_authorizations_list, options).each do |page| yield page end else post('apps.event.authorizations.list', options) end end