Module: Camunda::Workflow
- Defined in:
- lib/camunda/workflow.rb,
lib/camunda/workflow/version.rb
Overview
Default configuration file for camunda-workflow. These defaults can be overridden using an initializer file within a Rails application.
Defined Under Namespace
Classes: Configuration
Constant Summary collapse
- VERSION =
'0.3.0'.freeze
Class Method Summary collapse
-
.configuration ⇒ Configuration
Access the Configuration class.
-
.configure {|configuration| ... } ⇒ Object
Implements Configuration class and sets default instance variables.
Class Method Details
.configuration ⇒ Configuration
Access the Configuration class
26 27 28 |
# File 'lib/camunda/workflow.rb', line 26 def self.configuration @configuration ||= Configuration.new end |
.configure {|configuration| ... } ⇒ Object
Note:
if HTTP Basic Auth is used with the Camunda engine, this is where you would set a camunda_user and camunda_password
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. using the credentials from a user setup in Camunda Admin.
20 21 22 |
# File 'lib/camunda/workflow.rb', line 20 def self.configure yield(configuration) end |