Work fork of the thin proxy SGX that represents JMP.chat itself
1# frozen_string_literal: true 2 3class ParentCodeRepo 4 def initialize(redis=REDIS) 5 @redis = redis 6 end 7 8 def find(code) 9 @redis.hget("jmp_parent_codes", code) 10 end 11end