lib/riak/cache_store.rb in riak-client-0.8.0.beta vs lib/riak/cache_store.rb in riak-client-0.8.0.beta2
- old
+ new
@@ -15,9 +15,10 @@
module Riak
class CacheStore < ActiveSupport::Cache::Store
attr_accessor :client
def initialize(options = {})
+ super
@bucket_name = options.delete(:bucket) || '_cache'
@n_value = options.delete(:n_value) || 2
@r = options.delete(:r) || 1
@w = options.delete(:w) || 1
@dw = options.delete(:dw) || 0