Sha256: be3783bf3edf0425e152cd84f1da54993191a746fd896559931bd7b61a0d6ca9

Contents?: true

Size: 1.22 KB

Versions: 5

Compression:

Stored size: 1.22 KB

Contents

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

module Slack
  module Web
    module Api
      module Endpoints
        module AppsPermissionsResources
          #
          # Returns list of resource grants this app has on a team.
          #
          # @option options [Object] :cursor
          #   Paginate through collections of data by setting the cursor parameter to a next_cursor attribute returned by a previous request's response_metadata. Default value fetches the first "page" of the collection. See pagination for more detail.
          # @option options [Object] :limit
          #   The maximum number of items to return.
          # @see https://api.slack.com/methods/apps.permissions.resources.list
          # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/apps.permissions.resources/apps.permissions.resources.list.json
          def apps_permissions_resources_list(options = {})
            if block_given?
              Pagination::Cursor.new(self, :apps_permissions_resources_list, options).each do |page|
                yield page
              end
            else
              post('apps.permissions.resources.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.14.1 lib/slack/web/api/endpoints/apps_permissions_resources.rb
slack-ruby-client-0.14.0 lib/slack/web/api/endpoints/apps_permissions_resources.rb
slack-ruby-client-0.13.1 lib/slack/web/api/endpoints/apps_permissions_resources.rb
slack-ruby-client-0.13.0 lib/slack/web/api/endpoints/apps_permissions_resources.rb
slack-ruby-client-0.12.0 lib/slack/web/api/endpoints/apps_permissions_resources.rb