класс ActionCable::Connection::TestCookieJar
Мы не хотим использовать весь «стек шифрования» для тестирования подключения, но хотим убедиться, что пользователи тестируют против правильных типов cookie (т. е. подписанных, зашифрованных или обычных).
Публичные методы экземпляра
# File actioncable/lib/action_cable/connection/test_case.rb, line 38
def encrypted
self[:encrypted] ||= {}.with_indifferent_access
end # File actioncable/lib/action_cable/connection/test_case.rb, line 34
def signed
self[:signed] ||= {}.with_indifferent_access
end
© 2004–2019 David Heinemeier Hansson
Licensed under the MIT License.