Method: ActionDispatch::Session::AbstractStore#initialize
- Defined in:
- lib/action_dispatch/middleware/session/abstract_store.rb
#initialize(app, options = {}) ⇒ AbstractStore
139 140 141 142 143 144 145 |
# File 'lib/action_dispatch/middleware/session/abstract_store.rb', line 139 def initialize(app, = {}) @app = app = DEFAULT_OPTIONS.merge() @key = .delete(:key).freeze = .delete(:cookie_only) ensure_session_key! end |