Sha256: d0fbfe12547f7b79cf4d96e92c2ffd21ceac9911144f288b21ab2172ea0b5fe6
Contents?: true
Size: 686 Bytes
Versions: 15
Compression:
Stored size: 686 Bytes
Contents
module Camunda # Generator to run and install camunda_job.rb that includes ExternalTaskJob to be used with task classes. module Generators # 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 class InstallGenerator < Rails::Generators::Base source_root File.expand_path('templates', __dir__) # Copies the camunda_job file to the Rails application. def copy_camunda_application_job copy_file 'camunda_job.rb', 'app/jobs/camunda_job.rb' end end end end
Version data entries
15 entries across 15 versions & 1 rubygems