Class: MemcachedWrapper

Inherits:
Dalli::Client
  • Object
show all
Defined in:
lib/memcached_wrapper.rb

Instance Method Summary collapse

Instance Method Details

#get(key, raw = false) ⇒ Object



6
7
8
# File 'lib/memcached_wrapper.rb', line 6

def get(key, raw =false)
  super(key, :raw => raw)
end

#set(key, value, expire = @default_ttl, raw = false) ⇒ Object



10
11
12
# File 'lib/memcached_wrapper.rb', line 10

def set(key, value, expire = @default_ttl, raw = false)
  super(key, value, expire, :raw => raw)
end