Module: RackCAS::RedisStore
- Defined in:
- lib/rack-cas/session_store/redis.rb
Defined Under Namespace
Classes: Session
Class Method Summary collapse
- .destroy_session_by_cas_ticket(cas_ticket) ⇒ Object
-
.prune(after = nil) ⇒ Object
we don’t need to prune because the keys expire automatically.
Class Method Details
.destroy_session_by_cas_ticket(cas_ticket) ⇒ Object
43 44 45 46 |
# File 'lib/rack-cas/session_store/redis.rb', line 43 def self.destroy_session_by_cas_ticket(cas_ticket) affected = Session.destroy_by_cas_ticket(cas_ticket) affected == 1 end |
.prune(after = nil) ⇒ Object
we don’t need to prune because the keys expire automatically
49 50 |
# File 'lib/rack-cas/session_store/redis.rb', line 49 def self.prune(after = nil) end |