rightscale/right_api_client — pull request #25 by aliscott (2013-02-01 14:29:05+00:00)
Title: acu75292 Add support for other RightScale endpoints.

We need to be able to support accounts that are hosted on non my.rightscale.com clusters.

When authenticating with user/pass we have to handle the 302 response from the API when authenticating and update client's base resource.

If the user has an existing cookie then we need to handle the redirect when the client makes a GET request on /api/session.