Class: Camunda::Tasklist::UserTasks
- Inherits:
-
API
show all
- Defined in:
- lib/camunda/tasklist/user_tasks.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
.all(params = {}) ⇒ Object
6
7
8
|
# File 'lib/camunda/tasklist/user_tasks.rb', line 6
def self.all(params = {})
post('tasks/search', params)
end
|
.complete_task(task_id, variables = {}) ⇒ Object
10
11
12
|
# File 'lib/camunda/tasklist/user_tasks.rb', line 10
def self.complete_task(task_id, variables = {})
patch("tasks/#{task_id}/complete", variables)
end
|
.variables(task_id, params = {}) ⇒ Object
14
15
16
|
# File 'lib/camunda/tasklist/user_tasks.rb', line 14
def self.variables(task_id, params = {})
post("tasks/#{task_id}/variables/search", params)
end
|