Method: Spaceship::Client#teams

Defined in:
spaceship/lib/spaceship/client.rb

#teamsArray

Returns A list of all available teams.

Returns:

  • (Array)

    A list of all available teams



73
74
75
76
77
78
79
80
# File 'spaceship/lib/spaceship/client.rb', line 73

def teams
  user_details_data['availableProviders'].sort_by do |team|
    [
      team['name'],
      team['providerId']
    ]
  end
end