Updated

app/jobs / deliver_petition_email_job.rb

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