Module: Slack::Web::Api::Endpoints::AppsEventAuthorizations
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/apps_event_authorizations.rb
Instance Method Summary collapse
-
#apps_event_authorizations_list(options = {}) ⇒ Object
Get a list of authorizations for the given event context.
Instance Method Details
#apps_event_authorizations_list(options = {}) ⇒ Object
Get a list of authorizations for the given event context. Each authorization represents an app installation that the event is visible to.
20 21 22 23 24 25 26 27 28 29 |
# File 'lib/slack/web/api/endpoints/apps_event_authorizations.rb', line 20 def ( = {}) raise ArgumentError, 'Required arguments :event_context missing' if [:event_context].nil? if block_given? Pagination::Cursor.new(self, :apps_event_authorizations_list, ).each do |page| yield page end else post('apps.event.authorizations.list', ) end end |