Class: Workers::Mail::ReportWorker

Inherits:
Base
  • Object
show all
Defined in:
app/workers/mail/report_worker.rb

Instance Method Summary collapse

Instance Method Details

#perform(report_id) ⇒ Object


8
9
10
# File 'app/workers/mail/report_worker.rb', line 8

def perform(report_id)
  ReportMailer.new_report(report_id).each(&:deliver_now)
end