Sha256: 5164ee60f9db0a67f8183c47c6826102e52136fcac4c99543469196d6674b2d8
Contents?: true
Size: 638 Bytes
Versions: 1
Compression:
Stored size: 638 Bytes
Contents
# frozen_string_literal: true module SidekiqAlive module Redis class Base def set(...) raise(NotImplementedError) end def zadd(set_key, ex, key) raise(NotImplementedError) end def zrange(set_key, start, stop) raise(NotImplementedError) end def zrangebyscore(set_key, min, max) raise(NotImplementedError) end def zrem(set_key, key) raise(NotImplementedError) end def delete(key) raise(NotImplementedError) end def ttl(...) Sidekiq.redis { |redis| redis.ttl(...) } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sidekiq_alive-2.2.3 | lib/sidekiq_alive/redis/base.rb |