class Camunda::Generators::InstallGenerator

Creates `app/jobs/camunda_job.rb`. A class which inherits from ApplicationJob and includes `ExternalTaskJob`. It can be changed to include Sidekiq::Worker instead. All of the BPMN worker classes will inherit from this class

Public Instance Methods

copy_camunda_application_job() click to toggle source

Copies the camunda_job file to the Rails application.

# File lib/generators/camunda/install/install_generator.rb, line 10
def copy_camunda_application_job
  copy_file 'camunda_job.rb', 'app/jobs/camunda_job.rb'
end