Updated

app/jobs/archived / deliver_debate_scheduled_email_job.rb

B
13 lines of codes
1 methods
15.2 complexity/method
1 churn
15.23 complexity
19 duplications
module Archived class DeliverDebateScheduledEmailJob < ApplicationJob
  1. Similar code found in 3 nodes Locations: 0 1 2
  2. Archived::DeliverDebateScheduledEmailJob has no descriptive comment
include EmailDelivery def create_email if signature.creator? mailer.notify_creator_of_debate_scheduled signature.petition, signature
  1. Archived::DeliverDebateScheduledEmailJob#create_email calls 'signature.petition' 2 times Locations: 0 1
else mailer.notify_signer_of_debate_scheduled signature.petition, signature
  1. Archived::DeliverDebateScheduledEmailJob#create_email calls 'signature.petition' 2 times Locations: 0 1
end end end end