spaceship/lib/spaceship/connect_api/spaceship.rb in fastlane-2.158.0 vs spaceship/lib/spaceship/connect_api/spaceship.rb in fastlane-2.159.0
- old
+ new
@@ -71,15 +71,16 @@
# @param use_portal (Boolean) (optional): Whether to log in to Spaceship::Portal or not
# @param use_tunes (Boolean) (optional): Whether to log in to Spaceship::Tunes or not
# @param portal_team_id (String) (optional): The Spaceship::Portal team id
# @param tunes_team_id (String) (optional): The Spaceship::Tunes team id
# @param team_name (String) (optional): The team name
+ # @param skip_select_team (Boolean) (optional): Whether to skip automatic selection or prompt for team
#
# @raise InvalidUserCredentialsError: raised if authentication failed
#
# @return (Spaceship::ConnectAPI::Client) The client the login method was called for
- def login(user = nil, password = nil, use_portal: true, use_tunes: true, portal_team_id: nil, tunes_team_id: nil, team_name: nil)
- @client = ConnectAPI::Client.login(user, password, use_portal: use_portal, use_tunes: use_tunes, portal_team_id: portal_team_id, tunes_team_id: tunes_team_id, team_name: team_name)
+ def login(user = nil, password = nil, use_portal: true, use_tunes: true, portal_team_id: nil, tunes_team_id: nil, team_name: nil, skip_select_team: false)
+ @client = ConnectAPI::Client.login(user, password, use_portal: use_portal, use_tunes: use_tunes, portal_team_id: portal_team_id, tunes_team_id: tunes_team_id, team_name: team_name, skip_select_team: skip_select_team)
end
# Open up the team selection for the user (if necessary).
#
# If the user is in multiple teams, a team selection is shown.