Class: Decidim::ReminderGeneratorJob

Inherits:
ApplicationJob show all
Defined in:
decidim-core/app/jobs/decidim/reminder_generator_job.rb

Instance Method Summary collapse

Instance Method Details

#perform(generator_class_name) ⇒ Object



7
8
9
10
# File 'decidim-core/app/jobs/decidim/reminder_generator_job.rb', line 7

def perform(generator_class_name)
  generator = generator_class_name.constantize.new
  generator.generate
end