diff --git a/lib/api.rb b/lib/api.rb index fab9fb33bdc8d821783770bfdb9dd19cdd472a8a..73c5f0f1c553b196bbcaa48bf629949cb37fe438 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"