<commit_before>class CommonMailer < ApplicationMailer
  default from: "<EMAIL>"



  def invite_email(user)
    @user = user

    @strings = get_invite_strings
    mail(to: @user.email, subject: 'Convite Asics Hub')
  end

  def confirm_email(user)
    @user = user

    @strings = get_confirm_strings
    @qr_code_html = RQRCode::QRCode.new( user.qr_code, :size => 5, :level => :h ).as_html
    mail(to: @user.email, subject: 'Confirmação Asics Hub')
  end



  private

  def get_invite_strings
    invite_strings = {
      EN: {
        confirm_button: 'GREAT TEST ALWAYS WORK'
      },
      PT: {
        confirm_button: 'CONFIRMAR GRANDE PARCERIA'

      }
    }

    lang = @user.language
    invite_strings[lang.to_sym]
  end

  def get_confirm_strings
    confirm_strings = {
      EN: {

      },
      PT: {

      }
    }

    lang = @user.language
    confirm_strings[lang.to_sym]
  end
end
<commit_msg>fixed invite email strings examples<commit_after>class CommonMailer < ApplicationMailer
  default from: "<EMAIL>"



  def invite_email(user)
    @user = user

    @strings = get_invite_strings
    mail(to: @user.email, subject: 'Convite Asics Hub')
  end

  def confirm_email(user)
    @user = user

    @strings = get_confirm_strings
    @qr_code_html = RQRCode::QRCode.new( user.qr_code, :size => 5, :level => :h ).as_html
    mail(to: @user.email, subject: 'Confirmação Asics Hub')
  end



  private

  def get_invite_strings
    invite_strings = {
      EN: {
        confirm_button: 'CONFIRM PRESENCE'
      },
      PT: {
        confirm_button: 'CONFIRMAR PRESENÇA'
      }
    }

    lang = @user.language
    invite_strings[lang.to_sym]
  end

  def get_confirm_strings
    confirm_strings = {
      EN: {

      },
      PT: {

      }
    }

    lang = @user.language
    confirm_strings[lang.to_sym]
  end
end

{'fraction_non_alphanumeric': 0.10326086956521739, 'fraction_numerical': 0.0010869565217391304, 'mean_word_length': 2.506666666666667, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '1763658', 'n_tokens_mistral': 679, 'n_tokens_neox': 635, 'n_words': 139}