Class: Camunda::Operate::ProcessDefinitions

Inherits:
API
  • Object
show all
Defined in:
lib/camunda/operate/process_definitions.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(definition_id) ⇒ Object



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

def self.find(definition_id)
  get("process-definitions/#{definition_id}")
end

.search(params) ⇒ Object



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

def self.search(params)
  post('process-definitions/search', params)
end