Class: FormProfiles::VA1010ezr
- Inherits:
-
FormProfile
- Object
- FormProfile
- FormProfiles::VA1010ezr
- Defined in:
- app/models/form_profiles/va_1010ezr.rb
Instance Method Summary collapse
Instance Method Details
#clean!(hash) ⇒ Object
24 25 26 27 |
# File 'app/models/form_profiles/va_1010ezr.rb', line 24 def clean!(hash) hash.deep_transform_keys! { |k| k.camelize(:lower) } Common::HashHelpers.deep_compact(hash) end |
#ezr_data ⇒ Object
14 15 16 17 18 19 20 21 22 |
# File 'app/models/form_profiles/va_1010ezr.rb', line 14 def ezr_data @ezr_data ||= begin HCA::EnrollmentEligibility::Service.new.get_ezr_data(user.icn) rescue => e log_exception_to_sentry(e) OpenStruct.new end end |
#metadata ⇒ Object
6 7 8 9 10 11 12 |
# File 'app/models/form_profiles/va_1010ezr.rb', line 6 def { version: 0, prefill: true, returnUrl: '/veteran-information/personal-information' } end |