Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
radavis committed Mar 25, 2024
1 parent 62f649b commit c97180f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/va_profile/profile/v3/service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -20,16 +20,14 @@ class Service < VAProfile::Service

def initialize(user)
@user = user
super(user)
super()
end

def get_health_benefit_bio
oid = MPI::Constants::VA_ROOT_OID
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
Expand Down

0 comments on commit c97180f

Please sign in to comment.