Sha256: dba558c52961f8bec429e30ee317eafa1dde62af5ea6dfe95547584557a39875
Contents?: true
Size: 372 Bytes
Versions: 6
Compression:
Stored size: 372 Bytes
Contents
module RedisSnippets class Redis class << self def get(key) connection.get(key) end def set(key, value) connection.set(key, value) end def del(key) connection.del(key) end protected def connection RedisSnippets::Engine.config.redis_snippets[:connection] end end end end
Version data entries
6 entries across 6 versions & 1 rubygems