Sha256: 29970126607cc3bfaf6b9cde80a4ddca0b308ab8bafb5159b4b1eafdce7cec23
Contents?: true
Size: 337 Bytes
Versions: 7
Compression:
Stored size: 337 Bytes
Contents
module Sequins class DelayWorker < ActiveJob::Base def perform(sequence_class_name, target_class_name, target_id, next_step) sequence_class = sequence_class_name.constantize target = target_class_name.constantize.find(target_id) sequence_class.new.run_step_for_target(next_step.to_sym, target) end end end
Version data entries
7 entries across 7 versions & 1 rubygems