Class: ActionDispatch::Session::RedisStore
- Inherits:
-
Rack::Session::Redis
- Object
- Rack::Session::Redis
- ActionDispatch::Session::RedisStore
- Includes:
- Compatibility, SessionObject, StaleSessionCheck
- Defined in:
- lib/action_dispatch/middleware/session/redis_store.rb
Instance Method Summary collapse
-
#initialize(app, options = {}) ⇒ RedisStore
constructor
A new instance of RedisStore.
Constructor Details
#initialize(app, options = {}) ⇒ RedisStore
Returns a new instance of RedisStore.
12 13 14 15 16 |
# File 'lib/action_dispatch/middleware/session/redis_store.rb', line 12 def initialize(app, = {}) = .dup [:redis_server] ||= [:servers] super end |