RightScaleAPIHelper

This GEM is a simple wrapper for the RightScale API. It simplifies authentication, and provides an object to run GET, PUT, POST, and DELETE calls.

Usage

Create new instance 
    RightScaleAPIHelper::Helper.new(acct_id, email, password, format=('js'/'xml'), version = 1.0)

Example

api_conn = RightScaleAPIHelper::Helper.new(123456, 'email@email.com', 'password')

resp = api_conn.get("/deployments")

'or you can use the full api path'

resp = api_conn.get("https://my.rightscale.com/api/acct/######/deployments")

puts resp.code  # Response code from RightScale
puts resp.body  # xml or json response

Contributing to RightScaleAPIHelper

Copyright © 2012 evanwieren. See LICENSE.txt for further details.