Sha256: 87504ca725b50aec4baf282f4b0d88fb44962971a3456129ca03f2caad2d5077

Contents?: true

Size: 328 Bytes

Versions: 13

Compression:

Stored size: 328 Bytes

Contents

module SplitIoClient
  module Cache
    class Repository
      def set_string(key, str)
        @adapter.set_string(namespace_key(key), str)
      end

      def string(key)
        @adapter.string(namespace_key(key))
      end

      protected

      def namespace_key(key)
        "SPLITIO.#{key}"
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
splitclient-rb-3.1.2 lib/cache/repositories/repository.rb
splitclient-rb-3.1.1 lib/cache/repositories/repository.rb
splitclient-rb-3.1.0 lib/cache/repositories/repository.rb
splitclient-rb-3.1.0.pre.rc12 lib/cache/repositories/repository.rb
splitclient-rb-3.1.0.pre.rc11 lib/cache/repositories/repository.rb
splitclient-rb-3.1.0.pre.rc10 lib/cache/repositories/repository.rb
splitclient-rb-3.1.0.pre.rc9 lib/cache/repositories/repository.rb
splitclient-rb-3.1.0.pre.rc8 lib/cache/repositories/repository.rb
splitclient-rb-3.1.0.pre.rc7 lib/cache/repositories/repository.rb
splitclient-rb-3.1.0.pre.rc6 lib/cache/repositories/repository.rb
splitclient-rb-3.1.0.pre.rc5 lib/cache/repositories/repository.rb
splitclient-rb-3.1.0.pre.rc4 lib/cache/repositories/repository.rb
splitclient-rb-3.1.0.pre.rc2 lib/cache/repositories/repository.rb