Class: EducationForm::Forms::VA1990e

Inherits:
Base
  • Object
show all
Defined in:
app/sidekiq/education_form/forms/va_1990e.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

#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

#applicant_nameObject



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

def applicant_name
  @applicant.relativeFullName
end

#applicant_ssnObject



21
22
23
# File 'app/sidekiq/education_form/forms/va_1990e.rb', line 21

def applicant_ssn
  @applicant.relativeSocialSecurityNumber
end

#header_form_typeObject



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

def header_form_type
  'VE1990'
end

#non_va_assistanceObject



17
18
19
# File 'app/sidekiq/education_form/forms/va_1990e.rb', line 17

def non_va_assistance
  @applicant.nonVaAssistance
end

#schoolObject



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

def school
  @applicant.educationProgram
end