Sha256: 425ca850dc805432db920fa20a1685e21cd779623c34dedde5ab45b4f32212ca

Contents?: true

Size: 1.28 KB

Versions: 5

Compression:

Stored size: 1.28 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 AdminInviterequestsDenied
          #
          # List all denied 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 https://api.slack.com/methods/admin.inviteRequests.denied.list
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.inviteRequests.denied/admin.inviteRequests.denied.list.json
          def admin_inviteRequests_denied_list(options = {})
            if block_given?
              Pagination::Cursor.new(self, :admin_inviteRequests_denied_list, options).each do |page|
                yield page
              end
            else
              post('admin.inviteRequests.denied.list', options)
            end
          end
        end
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
slack-ruby-client-0.17.0 lib/slack/web/api/endpoints/admin_inviteRequests_denied.rb
slack-ruby-client-0.16.0 lib/slack/web/api/endpoints/admin_inviteRequests_denied.rb
slack-ruby-client-0.15.1 lib/slack/web/api/endpoints/admin_inviteRequests_denied.rb
slack-ruby-client-0.15.0 lib/slack/web/api/endpoints/admin_inviteRequests_denied.rb
slack-ruby-client-0.14.6 lib/slack/web/api/endpoints/admin_inviteRequests_denied.rb