module Revily::Client::Integration

Public Instance Methods

service_acknowledge(key, options={})
service_acknowledge_incident(key, options={}) click to toggle source
# File lib/revily/client/integration.rb, line 15
def service_acknowledge_incident(key, options={})
  put "acknowledge", options.merge(key: key)
end
Also aliased as: service_acknowledge
service_resolve(key, options={})
service_resolve_incident(key, options={}) click to toggle source
# File lib/revily/client/integration.rb, line 20
def service_resolve_incident(key, options={})
  put "resolve", options.merge(key: key)
end
Also aliased as: service_resolve
service_trigger(key, message=nil, description=nil, options={})
service_trigger_incident(key, message=nil, description=nil, options={}) click to toggle source
# File lib/revily/client/integration.rb, line 5
def service_trigger_incident(key, message=nil, description=nil, options={})
  incident = {
    message: message,
    description: description,
    key: key
  }
  put "trigger", options.merge(incident)
end
Also aliased as: service_trigger