class method
self.new
Ruby on Rails 4.1.16
Since v3.0.20Signature
self.new(app, options = {})
No documentation comment.
Parameters
-
appreq -
optionsopt = {}
Source
# File actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb, line 16
def initialize(app, options = {})
options[:expire_after] ||= options[:expires]
super
end
Defined in actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb line 16
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionDispatch::Session::MemCacheStore