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:

  1. Fork it ( http://github.com/locaweb/simplenet-client/fork )
  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