Sha256: 1977394468bbdb21d8c9af7899fa942b0f315e9e5db9578cce23ebc0af742a7f

Contents?: true

Size: 253 Bytes

Versions: 25

Compression:

Stored size: 253 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class ReminderGeneratorJob < ApplicationJob
    queue_as :reminders

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.28.4 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.27.9 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.29.0 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.28.3 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.27.8 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.29.0.rc4 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.29.0.rc3 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.29.0.rc2 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.29.0.rc1 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.28.2 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.27.7 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.28.1 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.27.6 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.28.0 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.27.5 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.28.0.rc5 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.28.0.rc4 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.27.4 app/jobs/decidim/reminder_generator_job.rb
decidim-core-0.27.3 app/jobs/decidim/reminder_generator_job.rb