Sha256: ca880c9a64bafc17d5d1ceef6225a8c313c4043049f044c92ac5e43cac4bf5a0

Contents?: true

Size: 233 Bytes

Versions: 81

Compression:

Stored size: 233 Bytes

Contents

# frozen_string_literal: true

module Decidim
  class NewslettersOptInJob < ApplicationJob
    queue_as :newsletters_opt_in

    def perform(user, token)
      NewslettersOptInMailer.notify(user, token).deliver_now
    end
  end
end

Version data entries

81 entries across 81 versions & 1 rubygems

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