Sha256: 54edcb98fa5d1e58957c170ae2127be3252a9575edab6749427f9a77e06b0baf
Contents?: true
Size: 423 Bytes
Versions: 2
Compression:
Stored size: 423 Bytes
Contents
require "kvmultiplex/provider" require "deep_merge/rails_compat" module KVMultiplex module Providers class Readonly < KVMultiplex::Provider def initialize(provider) raise "provider must be a KVMultiplex::Provider." unless provider.is_a?(KVMultiplex::Provider) @provider = provider end def get(subkey, full_key) @provider.get(subkey, full_key) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
kvmultiplex-0.1.8 | lib/kvmultiplex/providers/readonly.rb |
kvmultiplex-0.1.7 | lib/kvmultiplex/providers/readonly.rb |