Sha256: e75426d909829c3bb0d4c9448b584a9472ebce8ab0c85a9c640be27cf3759ac2

Contents?: true

Size: 220 Bytes

Versions: 1

Compression:

Stored size: 220 Bytes

Contents

module Alephant
  module Broker
    module Cache
      class NullClient
        def get(_key)
          yield
        end

        def set(_key, value, _ttl = nil)
          value
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alephant-broker-3.14.0 lib/alephant/broker/cache/null_client.rb