Build Status

Ruby wrapper for the Cloudability API.

Installation

Add this line to your application's Gemfile:

gem 'cloudability'

And then execute:

$ bundle

Or install it yourself as:

$ gem install cloudability

Usage

Supported endpoints:

  • Credentials
  • Budgets
  • Reporting
  • Organizations (Including invitations and roles.)

Feel free to shoot me an email at [email protected] if you have any questions or need help.

Credentials

Retrieve an array containing all your Cloud Accounts.

credentials = Cloudability::Credentials.new(auth_token: 'xxxxxxxxxxxxxxxxxxxx')
all_credentials = credentials.find_all

puts .
puts .
puts .created_at
puts .has_auth
puts .has_estimate

Organizations

c = Cloudability::Organizations.new(auth_token: 'xxxxxxxxxxxxxxxxxxxx')
c.invite_user(email: '[email protected]', name: 'Colby Aley')
c.roles
c.invitations

TODO:

  • More tests!
  • More endpoints!
  • More awesomeness!

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request