module Slack::Web::Api::Endpoints::AdminAppsRequests

Public Instance Methods

admin_apps_requests_list(options = {}) { |page| ... } click to toggle source

List app requests for a team/workspace.

@option options [Object] :cursor

Set cursor to next_cursor returned by the previous call to list items in the next page.

@option options [Object] :limit

The maximum number of items to return. Must be between 1 - 1000 both inclusive.

@option options [Object] :team_id

.

@see api.slack.com/methods/admin.apps.requests.list @see github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.apps.requests/admin.apps.requests.list.json

# File lib/slack/web/api/endpoints/admin_apps_requests.rb, line 20
def admin_apps_requests_list(options = {})
  if block_given?
    Pagination::Cursor.new(self, :admin_apps_requests_list, options).each do |page|
      yield page
    end
  else
    post('admin.apps.requests.list', options)
  end
end