Sha256: 0cdba3dcdcd33eeddb4960e5132da55af69aa455eea3ae65c8f8c0219be43235

Contents?: true

Size: 1.29 KB

Versions: 7

Compression:

Stored size: 1.29 KB

Contents

# frozen_string_literal: true
# This file was auto-generated by lib/tasks/web.rake

module Slack
  module Web
    module Api
      module Endpoints
        module AdminInviterequestsApproved
          #
          # List all approved workspace invite requests.
          #
          # @option options [string] :cursor
          #   Value of the next_cursor field sent as part of the previous API response.
          # @option options [integer] :limit
          #   The number of results that will be returned by the API on each invocation. Must be between 1 - 1000, both inclusive.
          # @option options [string] :team_id
          #   ID for the workspace where the invite requests were made.
          # @see https://api.slack.com/methods/admin.inviteRequests.approved.list
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.inviteRequests.approved/admin.inviteRequests.approved.list.json
          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
        end
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 lib/slack/web/api/endpoints/admin_inviteRequests_approved.rb
slack-ruby-client-2.3.0 lib/slack/web/api/endpoints/admin_inviteRequests_approved.rb
slack-ruby-client-2.2.0 lib/slack/web/api/endpoints/admin_inviteRequests_approved.rb
slack-ruby-client-2.1.0 lib/slack/web/api/endpoints/admin_inviteRequests_approved.rb
slack-ruby-client-2.0.0 lib/slack/web/api/endpoints/admin_inviteRequests_approved.rb
slack-ruby-client-1.1.0 lib/slack/web/api/endpoints/admin_inviteRequests_approved.rb
slack-ruby-client-1.0.0 lib/slack/web/api/endpoints/admin_inviteRequests_approved.rb