Updated

app/jobs/archived / deliver_petition_email_job.rb

A
20 lines of codes
2 methods
8.1 complexity/method
1 churn
16.25 complexity
0 duplications
module Archived class DeliverPetitionEmailJob < ApplicationJob
  1. 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