Sha256: e7a5eb4248d22543181781cd110901486d38610964423f0b2cd376c42b8771c0

Contents?: true

Size: 1.23 KB

Versions: 5

Compression:

Stored size: 1.23 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 AdminAppsRestricted
          #
          # List restricted apps for an org or 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] :enterprise_id
          #   .
          # @option options [Object] :limit
          #   The maximum number of items to return. Must be between 1 - 1000 both inclusive.
          # @option options [Object] :team_id
          #   .
          # @see https://api.slack.com/methods/admin.apps.restricted.list
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/admin.apps.restricted/admin.apps.restricted.list.json
          def admin_apps_restricted_list(options = {})
            if block_given?
              Pagination::Cursor.new(self, :admin_apps_restricted_list, options).each do |page|
                yield page
              end
            else
              post('admin.apps.restricted.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_apps_restricted.rb
slack-ruby-client-0.16.0 lib/slack/web/api/endpoints/admin_apps_restricted.rb
slack-ruby-client-0.15.1 lib/slack/web/api/endpoints/admin_apps_restricted.rb
slack-ruby-client-0.15.0 lib/slack/web/api/endpoints/admin_apps_restricted.rb
slack-ruby-client-0.14.6 lib/slack/web/api/endpoints/admin_apps_restricted.rb