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
Obtain a full list of workspaces your org-wide app has been approved for.
Instance Method Details
#auth_teams_list(options = {}) ⇒ Object
Obtain a full list of workspaces your org-wide app has been approved for.
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 |