Class: ActionDispatch::Session::MemCacheStore
- Inherits:
-
Rack::Session::Memcache
- Object
- Rack::Session::Memcache
- ActionDispatch::Session::MemCacheStore
- Includes:
- Compatibility, StaleSessionCheck
- Defined in:
- actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb
Instance Method Summary collapse
-
#initialize(app, options = {}) ⇒ MemCacheStore
constructor
A new instance of MemCacheStore.
Methods included from StaleSessionCheck
#extract_session_id, #load_session, #stale_session_check!
Methods included from Compatibility
Constructor Details
#initialize(app, options = {}) ⇒ MemCacheStore
Returns a new instance of MemCacheStore.
10 11 12 13 14 |
# File 'actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb', line 10 def initialize(app, = {}) require 'memcache' [:expire_after] ||= [:expires] super end |