Class: Decidim::NewslettersOptInJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- Decidim::NewslettersOptInJob
- Defined in:
- decidim-core/app/jobs/decidim/newsletters_opt_in_job.rb
Instance Method Summary collapse
Instance Method Details
#perform(user, token) ⇒ Object
7 8 9 |
# File 'decidim-core/app/jobs/decidim/newsletters_opt_in_job.rb', line 7 def perform(user, token) NewslettersOptInMailer.notify(user, token).deliver_now end |