Sha256: 2dbd049b6e679a160f4f1d2e9e16c7263693c569e93798c6980d4ec06e2afef0
Contents?: true
Size: 517 Bytes
Versions: 15
Compression:
Stored size: 517 Bytes
Contents
require_relative "generic" module Railjet module Repository class Redis < Generic self.type = :redis module RepositoryMethods def get(key) redis.get(key) end def set(key, val) redis.set(key, val) end def exists?(key) redis.exists(key) end def transaction(&block) redis.multi(&block) end def pipeline(&block) redis.pipelined(&block) end end end end end
Version data entries
15 entries across 15 versions & 1 rubygems