Updated

app/jobs / deliver_debate_outcome_email_job.rb

A
11 lines of codes
1 methods
15.2 complexity/method
4 churn
15.23 complexity
0 duplications
class DeliverDebateOutcomeEmailJob < ApplicationJob
  1. DeliverDebateOutcomeEmailJob has no descriptive comment
include EmailDelivery def create_email if signature.creator? mailer.notify_creator_of_debate_outcome signature.petition, signature
  1. DeliverDebateOutcomeEmailJob#create_email calls 'signature.petition' 2 times Locations: 0 1
else mailer.notify_signer_of_debate_outcome signature.petition, signature
  1. DeliverDebateOutcomeEmailJob#create_email calls 'signature.petition' 2 times Locations: 0 1
end end end