class Bixby::Model::Check

Public Class Methods

destroy(id) click to toggle source
# File lib/bixby-client/model/check.rb, line 19
def self.destroy(id)
  delete("/checks/#{id}")
end
find(id) click to toggle source
# File lib/bixby-client/model/check.rb, line 11
def self.find(id)
  get("/checks/#{id}")
end
list(host_id) click to toggle source
# File lib/bixby-client/model/check.rb, line 7
def self.list(host_id)
  get("/hosts/#{host_id}/checks")
end
update(id, data) click to toggle source
# File lib/bixby-client/model/check.rb, line 15
def self.update(id, data)
  put("/checks/#{id}", data)
end