app/mailers/gdpr_export_mailer.rb
Method format_options
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def format_options(participant:,body:,csv_file:)
options = {
participant_id: participant.id,
subject: "[crowdAI] Personal Data download",
to: participant.email,