lib/spaceship/launcher.rb in spaceship-0.0.15 vs lib/spaceship/launcher.rb in spaceship-0.1.0

- old
+ new

@@ -17,10 +17,10 @@ # @param user (String) (optional): The username (usually the email address) # @param password (String) (optional): The password # # @raise InvalidUserCredentialsError: raised if authentication failed def initialize(user = nil, password = nil) - @client = Client.new + @client = PortalClient.new if user or password @client.login(user, password) end end \ No newline at end of file