Class: FormProfiles::VA5655

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

Overview

Form Profile for VA Form 5655, the Financial Status Report Form

Instance Method Summary collapse

Instance Method Details

#metadataHash

Overrides the FormProfile metadata method, to provide frontend with usable metadata

Returns:

  • (Hash)


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

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

#prefillHash

Overrides the FormProfile prefill method to initialize @va_awards_composite

Returns:

  • (Hash)


30
31
32
33
# File 'app/models/form_profiles/va_5655.rb', line 30

def prefill
  @payments = init_payments
  super
end