tutumcloud/ruby-tutum — pull request #4 by mrflip (2014-12-09 11:34:15+00:00)
Title: Model based api

This is still a work in progress, but I put together a set classes that give an accessor-based durable object interface to the tutum api.

Are you interested in pulling something like this in? If so I'll break this up into discrete pulls and button things up somewhat.

If you have any thoughts on the interface please advise.

```
irb> ncs = Tutum::NodeCluster.list

=> [#1,
:disk=>60,
:name=>"Hadoop",
....

irb> my_node = ncs.first.nodes
=> [#["/api/v1/action/ffcf03ac-dd2a-4c62-974c-6bd33b8470a4/"],
:current_num_containers=>4,
...

irb> my_node.public_ip
=> "54.69.180.118"

irb> my_svc = Tutum::Service.list.first; my_svc.ports[2]
=> #

irb> my_svc.start
...
```