To help customers get acquainted with RightScale API 1.0 using Ruby, we have included a sample script below, depicting real-world examples of interacting with RightScale API Version 1.0. For the complete list of API commands, see the RightScale 1.0 API Reference guide.
You must supply the script with your RightScale account number, available from the RightScale Dashboard. Choose Settings -> Account Settings from the menu, then review the URI in your browser address bar. In the following example, your account number is 1234.
You will supply this account number to the script along with your RightScale Dashboard user name and password.
This wrapper requires the RubyGems rest-client, which can be installed on most systems with the following command:
gem install rest-client
The most recent version of the Ruby API wrapper can be found on https://github.com/zambon/RightAPI.
Ruby API Wrapper (from the RightScale API Guide)
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.