Simplenet client
This is the client library to work with simplenet from ruby.
Installation
Add this line to your application's Gemfile:
gem 'simplenet-client'
And then execute:
$ bundle
Or install it yourself as:
$ gem install simplenet-client
Usage
First of all you need to create a connection based on your simplenet installation:
simplenet = Simplenet::Client::Connection.new(:url => "simplenet.mycompany.com.br")
Now you can use simplenet resources through the library
simplenet.datacenter.list
simplenet.firewall.list
Contributing
The same as always:
- Fork it ( http://github.com/locaweb/simplenet-client/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 new Pull Request