module Camunda::Workflow
Default configuration file for camunda-workflow. These defaults can be overridden using an initializer file within a Rails application. @example override default values
Camunda::Workflow.configure do |config| config.engine_url = 'http://localhost:8080' config.engine_route_prefix = 'rest' end
Constants
- VERSION
Public Class Methods
configuration()
click to toggle source
Access the Configuration
class @return [Configuration]
# File lib/camunda/workflow.rb, line 26 def self.configuration @configuration ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
Implements Configuration
class and sets default instance variables. The default variables can be overridden by creating an initializer file within your rails application and setting the variables like in the example below. @note if HTTP Basic Auth is used with the Camunda
engine, this is where you would set a camunda_user and camunda_password using the credentials from a user setup in Camunda
Admin. @example
'Camunda::Workflow.configure do |config| config.engine_url = 'http://localhost:8080' config.engine_route_prefix = 'rest' end'
# File lib/camunda/workflow.rb, line 20 def self.configure yield(configuration) end