lib/onering/plugins/devices.rb in onering-client-0.0.4 vs lib/onering/plugins/devices.rb in onering-client-0.0.6
- old
+ new
@@ -5,9 +5,13 @@
class<<self
def connect(host=nil)
super(host)
end
+ def get(id)
+ request("devices/#{id}")
+ end
+
def list(field, options={
:unique => true,
:sort => true,
:filter => nil
})