Class: FormProfiles::DecisionReview

Inherits:
FormProfile
  • Object
show all
Defined in:
app/models/form_profiles/decision_review.rb

Direct Known Subclasses

VA0995, VA0996, VA10182

Instance Method Summary collapse

Instance Method Details

#metadataObject



4
5
6
7
8
9
10
# File 'app/models/form_profiles/decision_review.rb', line 4

def 
  {
    version: 0,
    prefill: true,
    returnUrl: '/veteran-information'
  }
end

#street3Object (private)



14
15
16
# File 'app/models/form_profiles/decision_review.rb', line 14

def street3
  vet360_mailing_address&.address_line3
end

#va_file_number_last_fourObject (private)



18
19
20
21
22
23
# File 'app/models/form_profiles/decision_review.rb', line 18

def va_file_number_last_four
  response = BGS::People::Request.new.find_person_by_participant_id(user:)
  (
    response.file_number.presence || user.ssn.presence
  )&.last(4)
end