method

new

rails latest stable - Class: ActionDispatch::Session::CacheStore
new(app, options = {})
public

No documentation available.

# File actionpack/lib/action_dispatch/middleware/session/cache_store.rb, line 18
      def initialize(app, options = {})
        @cache = options[:cache] || Rails.cache
        options[:expire_after] ||= @cache.options[:expires_in]
        super
      end