1module Archived |
|
2 class DeliverDebateScheduledEmailJob < ApplicationJob |
|
3 include EmailDelivery |
|
|
5 def create_email |
6 if signature.creator? |
|
7 mailer.notify_creator_of_debate_scheduled signature.petition, signature
|
|
8 else |
|
9 mailer.notify_signer_of_debate_scheduled signature.petition, signature
|
|
10 end |
|
11 end |
|
12 end |
|
13end |