lib/spaceship/tunes/spaceship.rb in spaceship-0.14.2 vs lib/spaceship/tunes/spaceship.rb in spaceship-0.15.0
- old
+ new
@@ -19,8 +19,16 @@
#
# @return (Spaceship::Client) The client the login method was called for
def login(user = nil, password = nil)
@client = TunesClient.login(user, password)
end
+
+ # Open up the team selection for the user (if necessary).
+ #
+ # If the user is in multiple teams, a team selection is shown.
+ # The user can then select a team by entering the number
+ def select_team
+ @client.select_team
+ end
end
end
end