From c97180f4e1fc1ca68a2936e517047bce1282a7c3 Mon Sep 17 00:00:00 2001 From: Richard Davis Date: Mon, 25 Mar 2024 13:02:42 -0400 Subject: [PATCH] Updates --- lib/va_profile/profile/v3/service.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/va_profile/profile/v3/service.rb b/lib/va_profile/profile/v3/service.rb index 2eee7fbd6de..8c26e61e49f 100644 --- a/lib/va_profile/profile/v3/service.rb +++ b/lib/va_profile/profile/v3/service.rb @@ -10,7 +10,7 @@ module Profile module V3 # NOTE: This controller is used for discovery purposes. # Please contact the Authenticated Experience Profile team before using. - class Service < VAProfile::Service + class Service < Common::Client::Base configuration VAProfile::Profile::V3::Configuration OID = '2.16.840.1.113883.3.42.10001.100001.12' @@ -20,7 +20,7 @@ class Service < VAProfile::Service def initialize(user) @user = user - super(user) + super() end def get_health_benefit_bio @@ -28,8 +28,6 @@ def get_health_benefit_bio path = "#{oid}/#{ERB::Util.url_encode(icn_with_aaid)}" response = perform(:post, path, { bios: [{ bioPath: 'healthBenefit' }] }) VAProfile::Profile::V3::HealthBenefitBioResponse.new(response) - rescue => e - handle_error(e) end def get_military_info