From 51a219e284d955657782967b2bbe3b979ff40edd Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Mon, 29 Nov 2021 13:29:56 -0500 Subject: [PATCH] v1 is gone --- lib/api.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lib/api.rb b/lib/api.rb index fab9fb3..73c5f0f 100644 --- a/lib/api.rb +++ b/lib/api.rb @@ -18,8 +18,6 @@ class API def self.api_version(customer) REDIS.lindex("catapult_cred-#{customer.jid}", 0).then do |api| case api - when CONFIG.dig(:catapult, :user) - V1.new when CONFIG.dig(:creds, :account) V2.new else @@ -28,12 +26,6 @@ class API end end - class V1 < API - def to_s - "v1" - end - end - class V2 < API def to_s "v2" -- 2.34.2