Class: EducationForm::Forms::VA1995
- Inherits:
-
Base
- Object
- Base
- EducationForm::Forms::VA1995
show all
- Defined in:
- app/sidekiq/education_form/forms/va_1995.rb
Constant Summary
collapse
- FORM_TYPES =
{
chapter30: 'CH30',
chapter32: 'CH32',
chapter33: 'CH33',
chapter33Post911: 'CH33',
chapter33FryScholarship: 'CH33',
chapter1606: 'CH1606',
chapter1607: 'CH1607',
transferOfEntitlement: 'TransferOfEntitlement'
}.freeze
Constants inherited
from Base
Base::TEMPLATE_PATH
Instance Attribute Summary
Attributes inherited from Base
#form, #record, #text
Instance Method Summary
collapse
Methods inherited from Base
#applicant_name, #applicant_ssn, #benefit_type, build, #direct_deposit_type, #disclosure_for, #employment_history, #format, #full_address, #full_address_with_street3, #full_name, #get_template, #header, #hours_and_type, #initialize, #parse_with_template, #parse_with_template_path, #school_name, #school_name_and_addr, #ssn_gender_dob, #to_date, #value_or_na, #yesno, #yesno_or_blank
Instance Method Details
24
25
26
|
# File 'app/sidekiq/education_form/forms/va_1995.rb', line 24
def form_benefit
@applicant.benefitUpdate&.titleize
end
|
20
21
22
|
# File 'app/sidekiq/education_form/forms/va_1995.rb', line 20
def form_type
FORM_TYPES[@applicant.benefit&.to_sym]
end
|
28
29
30
|
# File 'app/sidekiq/education_form/forms/va_1995.rb', line 28
def
'V1995'
end
|
#school ⇒ Object
16
17
18
|
# File 'app/sidekiq/education_form/forms/va_1995.rb', line 16
def school
@applicant.newSchool
end
|