You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
module PerRequestSequelCache
|
|
|
|
def self.set(key, obj, ttl)
|
|
# Please note ttl is ignored
|
|
RequestStore.write(key, obj)
|
|
end
|
|
|
|
def self.get(key)
|
|
RequestStore.read(key)
|
|
end
|
|
|
|
def self.delete(key)
|
|
RequestStore.delete(key)
|
|
end
|
|
|
|
end
|