lib/sidekiq_alive/redis/base.rb in sidekiq_alive-2.1.9 vs lib/sidekiq_alive/redis/base.rb in sidekiq_alive-2.2.0

- old
+ new

@@ -1,27 +1,23 @@ # frozen_string_literal: true module SidekiqAlive module Redis class Base - def set(key, time:, ex:) - raise("Implement me") + def set(...) + raise(NotImplementedError) end def match(key) - raise("Implement me") + raise(NotImplementedError) end def delete(key) - raise("Implement me") + raise(NotImplementedError) end def ttl(...) redis.ttl(...) - end - - def flushall - redis.flushall end private def redis