Kloudless API Ruby client.
Add this line to your application's Gemfile:
gem 'kloudless'
And then execute:
$ bundle
Or install it yourself as:
$ gem install kloudless
See the Kloudless API Docs for the official reference. You can obtain an API Key at the Developer Portal.
# Authentication
Kloudless.authorize(api_key: "abc")
accounts = Kloudless::Account.list
account = accounts.first
account = Kloudless::Account.update(account_id: account.id, active: false)
Kloudless::Account.delete(account_id: account.id)
This gem uses semantic versioning, where a version number looks like:
v major.minor.patch
The major version tracks the version of the Kloudless API. For example, all
versions that start with v0.x.y
are compatible with Kloudless API v0
.
To release this gem, look under the script
directory. Check out
jch/release-scripts for details.
TODO.md has a list of things to work on. File an issue or pull request if you'd like to discuss or tackle any of those tasks.
- Fork it ( https://github.com/[my-github-username]/kloudless/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request