Sha256: 918000b9c7ef0147b34ff3691235116bc61982f9b31c646de49fe6d31b2f7f06
Contents?: true
Size: 417 Bytes
Versions: 142
Compression:
Stored size: 417 Bytes
Contents
module SplitIoClient module Cache class Repository def initialize(config) @config = config end def set_string(key, str) @adapter.set_string(namespace_key(key), str) end def string(key) @adapter.string(namespace_key(key)) end protected def namespace_key(key = '') "#{@config.redis_namespace}#{key}" end end end end
Version data entries
142 entries across 142 versions & 1 rubygems
Version | Path |
---|---|
splitclient-rb-7.3.0.pre.rc1-java | lib/splitclient-rb/cache/repositories/repository.rb |
splitclient-rb-7.3.0.pre.rc1 | lib/splitclient-rb/cache/repositories/repository.rb |