Method: Pension21p527ez::PensionMilitaryInformation#service_branches_for_pensions
- Defined in:
- lib/pension_21p527ez/pension_military_information.rb
#service_branches_for_pensions ⇒ Hash
Returns { army => true, navy => true, … } in the format required for pensions.serviceBranch.
60 61 62 63 64 65 |
# File 'lib/pension_21p527ez/pension_military_information.rb', line 60 def service_branches_for_pensions format_service_branches_for_pensions(map_service_episodes_to_branches) rescue => e Rails.logger.error("Error fetching service branches for Pension prefill: #{e}") {} end |