module Slack::Web::Api::Endpoints::AdminInviterequestsApproved
Public Instance Methods
admin_inviteRequests_approved_list(options = {}) { |page| ... }
click to toggle source
List all approved workspace invite requests.
@option options [Object] :cursor
Value of the next_cursor field sent as part of the previous API response.
@option options [Object] :limit
The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive.
@option options [Object] :team_id
ID for the workspace where the invite requests were made.
@see api.slack.com/methods/admin.inviteRequests.approved.list @see github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.inviteRequests.approved/admin.inviteRequests.approved.list.json
# File lib/slack/web/api/endpoints/admin_inviteRequests_approved.rb, line 20 def admin_inviteRequests_approved_list(options = {}) if block_given? Pagination::Cursor.new(self, :admin_inviteRequests_approved_list, options).each do |page| yield page end else post('admin.inviteRequests.approved.list', options) end end