Module: Slack::Web::Api::Endpoints::AdminAppsRestricted
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/admin_apps_restricted.rb
Instance Method Summary collapse
-
#admin_apps_restricted_list(options = {}) ⇒ Object
List restricted apps for an org or workspace.
Instance Method Details
#admin_apps_restricted_list(options = {}) ⇒ Object
List restricted apps for an org or workspace.
22 23 24 25 26 27 28 29 30 |
# File 'lib/slack/web/api/endpoints/admin_apps_restricted.rb', line 22 def admin_apps_restricted_list( = {}) if block_given? Pagination::Cursor.new(self, :admin_apps_restricted_list, ).each do |page| yield page end else post('admin.apps.restricted.list', ) end end |