Sha256: 6e4e9698e046b9f93ede3c6d34485c436e5f3e5e1a4b1b8afef98ece2c28f8b1

Contents?: true

Size: 377 Bytes

Versions: 1

Compression:

Stored size: 377 Bytes

Contents

# frozen_string_literal: true

module SidekiqAlive
  module Redis
    class Base
      def set(...)
        raise(NotImplementedError)
      end

      def match(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.2 lib/sidekiq_alive/redis/base.rb