module Revily::Client::Incidents

Public Instance Methods

acknowledge_incident(id, options={}) click to toggle source
# File lib/revily/client/incidents.rb, line 14
def acknowledge_incident(id, options={})
  get "incidents/#{id}/acknowledge", options
end
incident(id, options={}) click to toggle source
# File lib/revily/client/incidents.rb, line 10
def incident(id, options={})
  get "incidents/#{id}", options
end
incidents(service_id=nil, options={}) click to toggle source
# File lib/revily/client/incidents.rb, line 5
def incidents(service_id=nil, options={})
  service_id ? get "services/#{service_id}/incidents", options : get "incidents", options
end
Also aliased as: list_incidents
list_incidents(service_id=nil, options={})
Alias for: incidents
resolve_incident(id, options={}) click to toggle source
# File lib/revily/client/incidents.rb, line 18
def resolve_incident(id, options={})
  get "incidents/#{id}/resolve", options
end