Module: Slack::Web::Api::Endpoints::AppsPermissionsResources
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/apps_permissions_resources.rb
Instance Method Summary collapse
-
#apps_permissions_resources_list(options = {}) ⇒ Object
Returns list of resource grants this app has on a team.
Instance Method Details
#apps_permissions_resources_list(options = {}) ⇒ Object
Returns list of resource grants this app has on a team.
17 18 19 20 21 22 23 24 25 |
# File 'lib/slack/web/api/endpoints/apps_permissions_resources.rb', line 17 def ( = {}) if block_given? Pagination::Cursor.new(self, :apps_permissions_resources_list, ).each do |page| yield page end else post('apps.permissions.resources.list', ) end end |