Class: Camunda::Operate::API

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

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/operate/api.rb', line 6

def self.base_url
  Camunda.operate_base_url
end

.oauth_tokenObject



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

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