Class: Decidim::UserReportJob

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

Instance Method Summary collapse

Instance Method Details

#perform(admin, report) ⇒ Object



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

def perform(admin, report)
  UserReportMailer.notify(admin, report).deliver_now
end