Module: HCA::EzrPostfill
- Defined in:
- lib/hca/ezr_postfill.rb
Class Method Summary collapse
Instance Method Summary collapse
- #post_fill_hash(user) ⇒ Object private
Class Method Details
.post_fill_hash(user) ⇒ Object
9 10 11 12 13 14 15 16 |
# File 'lib/hca/ezr_postfill.rb', line 9 def post_fill_hash(user) ee_facility = HCA::EnrollmentEligibility::Service.new.lookup_user(user.icn)[:preferred_facility] { 'isEssentialAcaCoverage' => false, 'vaMedicalFacility' => ee_facility.split[0] } end |
Instance Method Details
#post_fill_hash(user) ⇒ Object (private)
9 10 11 12 13 14 15 16 |
# File 'lib/hca/ezr_postfill.rb', line 9 def post_fill_hash(user) ee_facility = HCA::EnrollmentEligibility::Service.new.lookup_user(user.icn)[:preferred_facility] { 'isEssentialAcaCoverage' => false, 'vaMedicalFacility' => ee_facility.split[0] } end |