Sha256: 9941636d815e801182df75b7b92fd4a47b3b653e6b915c9f229c5855637f22ae

Contents?: true

Size: 204 Bytes

Versions: 3

Compression:

Stored size: 204 Bytes

Contents

module Econfig
  class Redis
    def initialize(redis)
      @redis = redis
    end

    def get(key)
      @redis.get(key)
    end

    def set(key, value)
      @redis.set(key, value)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
econfig-1.0.2 lib/econfig/redis.rb
econfig-1.0.1 lib/econfig/redis.rb
econfig-1.0.0 lib/econfig/redis.rb