Class: Watchfor::Client::Incidents
Instance Method Summary
collapse
Methods inherited from Namespace
#initialize
Instance Method Details
#acknowledge(id) ⇒ Object
123
|
# File 'lib/watchfor/client.rb', line 123
def acknowledge(id) = @c.request("POST", "/incidents/#{id}/acknowledge")
|
#get(id) ⇒ Object
122
|
# File 'lib/watchfor/client.rb', line 122
def get(id) = @c.request("GET", "/incidents/#{id}")
|
#list(**query) ⇒ Object
121
|
# File 'lib/watchfor/client.rb', line 121
def list(**query) = @c.request("GET", "/incidents", query: query)
|
#resolve(id) ⇒ Object
124
|
# File 'lib/watchfor/client.rb', line 124
def resolve(id) = @c.request("POST", "/incidents/#{id}/resolve")
|