класс ActionDispatch::Session::MemCacheStore
Action Dispatch MemCacheStore
Хранилище сессий, использующее MemCache для хранения.
Параметры
-
expire_after- Длительность хранения сессии до автоматического истечения срока действия.
Публичные методы класса
# File actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb, line 28
def initialize(app, options = {})
options[:expire_after] ||= options[:expires]
super
end Вызывает метод родительского класса
ActionDispatch::Session::Compatibility::new
© 2004–2021 David Heinemeier Hansson
Licensed under the MIT License.