~singpolyma/sgx-jmp

51a219e284d955657782967b2bbe3b979ff40edd — Stephen Paul Weber 1 year, 8 days ago 72e7798
v1 is gone
1 files changed, 0 insertions(+), 8 deletions(-)

M lib/api.rb
M lib/api.rb => lib/api.rb +0 -8
@@ 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"