module Archived
class DeliverPetitionEmailJob < ApplicationJob - Archived::DeliverPetitionEmailJob has no descriptive comment
include EmailDelivery
attr_reader :email
def perform(**args)
@email = args[:email]
super
end
def create_email
if signature.creator?
mailer.email_creator petition, signature, email
else
mailer.email_signer petition, signature, email
end
end
end
end