Class: Camunda::Tasklist::API

Inherits:
BaseAPI
  • Object
show all
Defined in:
lib/camunda/tasklist/api.rb

Direct Known Subclasses

UserTasks

Class Method Summary collapse

Methods inherited from BaseAPI

build_url, get, headers, patch, post

Class Method Details

.base_urlObject



6
7
8
# File 'lib/camunda/tasklist/api.rb', line 6

def self.base_url
  Camunda.tasklist_base_url
end

.oauth_tokenObject



10
11
12
# File 'lib/camunda/tasklist/api.rb', line 10

def self.oauth_token
  Camunda::Tasklist::OAuthToken.create['access_token']
end