Class: Camunda::Console::API

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

Direct Known Subclasses

Clients, Clusters

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

def self.base_url
  Camunda.console_base_url
end

.oauth_tokenObject



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

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