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, token, reason, user) ⇒ Object


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

def perform(admin, token, reason, user)
  UserReportMailer.notify(admin, token, reason, user).deliver_now
end