класс ActionDispatch::Session::MemCacheStore
Хранилище сессий Action Dispatch MemCacheStore
Хранилище сессий, использующее MemCache для хранения данных.
Параметры
-
expire_after- Время хранения сессии до её автоматического истечения.
Публичные методы класса
# File actionpack/lib/action_dispatch/middleware/session/mem_cache_store.rb, line 24
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.