Module: Slack::Web::Api::Endpoints::AuthTeams
- Included in:
- Slack::Web::Api::Endpoints
- Defined in:
- lib/slack/web/api/endpoints/auth_teams.rb
Instance Method Summary collapse
-
#auth_teams_list(options = {}) ⇒ Object
List the workspaces a token can access.
Instance Method Details
#auth_teams_list(options = {}) ⇒ Object
List the workspaces a token can access.
20 21 22 23 24 25 26 27 28 |
# File 'lib/slack/web/api/endpoints/auth_teams.rb', line 20 def auth_teams_list( = {}) if block_given? Pagination::Cursor.new(self, :auth_teams_list, ).each do |page| yield page end else post('auth.teams.list', ) end end |