1class NotifyCreatorThatModerationIsDelayedJob < EmailJob |
|
2 self.mailer = PetitionMailer |
|
3 self.email = :notify_creator_that_moderation_is_delayed |
|
5 queue_as :low_priority |
|
|
7 def perform(signature, subject, body) |
8 mailer.send(email, signature, subject, body).deliver_now
|
|
9 end |
|
10end |