<commit_before>class ProposalMailer < ApplicationMailer

  # In QueryService::create_query
  def notify_of_turn_to_vote(user)
    @user = user
    mail(to: @user.email, subject: "LET'S - It's Your Turn to Vote!")
  end

  # In QueryService::add_user
  def notify_of_invitation(user)
    @user = user
    mail(to: @user.email, subject: "LET'S - You're Invited!")
  end

  # In QueryService::close
  def notify_of_final_decision(user, decision)
    @user = user
    @decision = decision
    mail(to: @user.email, subject: "LET'S - You've Reached a Decision!")
  end

  def notify_of_expired_time(user, decision)
    @user = user
    @decision = decision
    mail(to: @user.email, subject: "LET'S - You Missed Your Turn!")
  end

end<commit_msg>add comment to mailer method that needs to be implemented<commit_after>class ProposalMailer < ApplicationMailer

  # In QueryService::create_query
  def notify_of_turn_to_vote(user)
    @user = user
    mail(to: @user.email, subject: "LET'S - It's Your Turn to Vote!")
  end

  # In QueryService::add_user
  def notify_of_invitation(user)
    @user = user
    mail(to: @user.email, subject: "LET'S - You're Invited!")
  end

  # In QueryService::close
  def notify_of_final_decision(user, decision)
    @user = user
    @decision = decision
    mail(to: @user.email, subject: "LET'S - You've Reached a Decision!")
  end

  #NEED TO ADD AFTER TIMING JOB SO GOES OUT WHEN SOMEONE MISSES TURN
  def notify_of_expired_time(user, decision)
    @user = user
    @decision = decision
    mail(to: @user.email, subject: "LET'S - You Missed Your Turn!")
  end

end
{'fraction_non_alphanumeric': 0.10832811521603006, 'fraction_numerical': 0.0, 'mean_word_length': 3.7701492537313435, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1529990', 'n_tokens_mistral': 574, 'n_tokens_neox': 544, 'n_words': 155}