From 4e23f9226b84e67ac3e7fd714444a1b01ecc9b95 Mon Sep 17 00:00:00 2001 From: Lee Delarm Date: Thu, 14 Nov 2024 11:04:13 -0500 Subject: [PATCH] Update to use BaseService Update to use BaseService --- modules/vaos/app/services/eps/base_service.rb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/modules/vaos/app/services/eps/base_service.rb b/modules/vaos/app/services/eps/base_service.rb index e3886e55ce0..5eeb2ad4274 100644 --- a/modules/vaos/app/services/eps/base_service.rb +++ b/modules/vaos/app/services/eps/base_service.rb @@ -1,7 +1,16 @@ # frozen_string_literal: true module EPS - class BaseService < VAOS::SessionService + class BaseService < VAOS::BaseService + STS_OAUTH_TOKEN = :va_online_scheduling_sts_oauth_token + + attr_accessor :user + + def initialize(user) + super(user) + @user = user + end + private def perform(method, path, params, headers = nil, options = nil)