Module: Redis::Store::Interface

Included in:
Redis::Store
Defined in:
lib/redis/store/interface.rb

Instance Method Summary collapse

Instance Method Details

#get(key, options = nil) ⇒ Object



4
5
6
# File 'lib/redis/store/interface.rb', line 4

def get(key, options = nil)
  super(key)
end

#set(key, value, options = nil) ⇒ Object



8
9
10
# File 'lib/redis/store/interface.rb', line 8

def set(key, value, options = nil)
  super(key, value, options || {})
end

#setex(key, expiry, value, options = nil) ⇒ Object



16
17
18
# File 'lib/redis/store/interface.rb', line 16

def setex(key, expiry, value, options = nil)
  super(key, expiry, value)
end

#setnx(key, value, options = nil) ⇒ Object



12
13
14
# File 'lib/redis/store/interface.rb', line 12

def setnx(key, value, options = nil)
  super(key, value)
end