Module: Brevio::Session::Redis

Extended by:
Redis
Included in:
Redis
Defined in:
lib/brevio/session/redis.rb

Instance Method Summary collapse

Instance Method Details

#expire(key, exp) ⇒ Object



11
12
13
# File 'lib/brevio/session/redis.rb', line 11

def expire(key, exp)
  brevio_config.redis.expire(key, exp)
end

#get(key) ⇒ Object



7
8
9
# File 'lib/brevio/session/redis.rb', line 7

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