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