Class: EducationForm::Forms::VA1990n

Inherits:
Base
  • Object
show all
Defined in:
app/sidekiq/education_form/forms/va_1990n.rb

Constant Summary

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

Constructor Details

This class inherits a constructor from EducationForm::Forms::Base

Instance Method Details

#header_form_typeObject



5
6
7
# File 'app/sidekiq/education_form/forms/va_1990n.rb', line 5

def header_form_type
  'VN1990'
end

#non_va_assistanceObject



13
14
15
# File 'app/sidekiq/education_form/forms/va_1990n.rb', line 13

def non_va_assistance
  @applicant.currentlyActiveDuty&.nonVaAssistance
end

#schoolObject



9
10
11
# File 'app/sidekiq/education_form/forms/va_1990n.rb', line 9

def school
  @applicant.educationProgram
end