Class: Camunda::Operate::Incidents

Inherits:
API show all
Defined in:
lib/camunda/operate/incidents.rb,
lib/camunda/operate/variables.rb

Class Method Summary collapse

Methods inherited from API

base_url, oauth_token

Methods inherited from BaseAPI

build_url, get, headers, patch, post

Class Method Details

.find(variable_id) ⇒ Object



10
11
12
# File 'lib/camunda/operate/incidents.rb', line 10

def self.find(incident_id)
  get("incidents/#{incident_id}")
end

.search(params) ⇒ Object



6
7
8
# File 'lib/camunda/operate/incidents.rb', line 6

def self.search(params)
  post('incidents/search', params)
end