Sha256: 7560efd080a12cc8853b0d9558bd7f6f9ac4484da0d65dc02f0a244a1757e8b5
Contents?: true
Size: 1.22 KB
Versions: 2
Compression:
Stored size: 1.22 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 AuthTeams # # List the workspaces a token can access. # # @option options [Object] :cursor # Set cursor to next_cursor returned by the previous call to list items in the next page. # @option options [Object] :include_icon # Whether to return icon paths for each workspace. An icon path represents a URI pointing to the image signifying the workspace. # @option options [Object] :limit # The maximum number of workspaces to return. Must be a positive integer no larger than 1000. # @see https://api.slack.com/methods/auth.teams.list # @see https://github.com/slack-ruby/slack-api-ref/blob/master/methods/auth.teams/auth.teams.list.json def auth_teams_list(options = {}) if block_given? Pagination::Cursor.new(self, :auth_teams_list, options).each do |page| yield page end else post('auth.teams.list', options) end end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.17.0 | lib/slack/web/api/endpoints/auth_teams.rb |
slack-ruby-client-0.16.0 | lib/slack/web/api/endpoints/auth_teams.rb |