class Bixby::Model::Host
Public Class Methods
find(id)
click to toggle source
# File lib/bixby-client/model/host.rb, line 11 def self.find(id) get("/hosts/#{id}") end
list()
click to toggle source
# File lib/bixby-client/model/host.rb, line 7 def self.list get("/hosts") end
update(id, data)
click to toggle source
# File lib/bixby-client/model/host.rb, line 15 def self.update(id, data) put("/hosts/#{id}", data) end
Public Instance Methods
save()
click to toggle source
# File lib/bixby-client/model/host.rb, line 19 def save # TODO end