Class: StemApplicantConfirmationMailer
Constant Summary
collapse
- SUBJECT =
'VA Rogers STEM Scholarship, Application Confirmation'
- GA_CAMPAIGN_NAME =
'stem_applicant_confirmation-10203-submission-notification'
- GA_DOCUMENT_PATH =
'/email/form'
- GA_LABEL =
'stem-applicant-confirmation-10203-submission-notification'
- TEMPLATE =
'stem_applicant_confirmation'
Instance Method Summary
collapse
#first_and_last_name, #first_initial_last_name, #template
Instance Method Details
#application_date ⇒ Object
10
11
12
|
# File 'app/mailers/stem_applicant_confirmation_mailer.rb', line 10
def application_date
@claim.created_at.strftime('%b %d, %Y')
end
|
#build(claim, ga_client_id) ⇒ Object
30
31
32
33
34
35
|
# File 'app/mailers/stem_applicant_confirmation_mailer.rb', line 30
def build(claim, ga_client_id)
@applicant = claim.open_struct_form
@claim = claim
super([@applicant.email], ga_client_id, {})
end
|
#confirmation_number ⇒ Object
26
27
28
|
# File 'app/mailers/stem_applicant_confirmation_mailer.rb', line 26
def confirmation_number
@claim.education_benefits_claim.confirmation_number
end
|
#region ⇒ Object
39
40
41
|
# File 'app/mailers/stem_applicant_confirmation_mailer.rb', line 39
def region
@claim.education_benefits_claim.regional_processing_office.to_sym
end
|
#region_city_state_zip ⇒ Object