cloudstack_client
A CloudStack API client written in Ruby.
Installation
Install the cloudstack_client gem:
$ gem install cloudstack_client
Usage
require "cloudstack_client"
cs = CloudstackClient::Connection.new(
'https://cloudstack.url/client/api',
'API_KEY',
'API_SECRET'
)
cs.list_servers(state: 'running').each do |server|
puts server['name']
end
References
Contributing
- Fork it
- 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 new Pull Request
License
Copyright (c) 2014, Nik Wolfgramm
Released under the MIT License. See the LICENSE file for further details.
