Module: Slack::Web::Api::Endpoints::AppsActivities
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/apps_activities.rb
Instance Method Summary collapse
-
#apps_activities_list(options = {}) ⇒ Object
Get logs for a specified app.
Instance Method Details
#apps_activities_list(options = {}) ⇒ Object
Get logs for a specified app
40 41 42 43 44 45 46 47 48 49 |
# File 'lib/slack/web/api/endpoints/apps_activities.rb', line 40 def apps_activities_list( = {}) raise ArgumentError, 'Required arguments :app_id missing' if [:app_id].nil? if block_given? Pagination::Cursor.new(self, :apps_activities_list, ).each do |page| yield page end else post('apps.activities.list', ) end end |