Updated

app/jobs / deliver_threshold_response_email_job.rb

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