Class: Volt::Persistors::HttpCookiePersistor
- Defined in:
- lib/volt/controllers/http_controller/http_cookie_persistor.rb
Instance Attribute Summary collapse
-
#changed_cookies ⇒ Object
readonly
Returns the value of attribute changed_cookies.
Instance Method Summary collapse
- #changed(attribute_name) ⇒ Object
-
#initialize(*args) ⇒ HttpCookiePersistor
constructor
A new instance of HttpCookiePersistor.
Methods inherited from Base
#added, #async?, #auto_generate_id, #clear, #event_added, #event_removed, #loaded, #removed, #root_model
Constructor Details
#initialize(*args) ⇒ HttpCookiePersistor
Returns a new instance of HttpCookiePersistor.
8 9 10 11 12 |
# File 'lib/volt/controllers/http_controller/http_cookie_persistor.rb', line 8 def initialize(*args) super @changed_cookies = {} end |
Instance Attribute Details
#changed_cookies ⇒ Object (readonly)
Returns the value of attribute changed_cookies.
6 7 8 |
# File 'lib/volt/controllers/http_controller/http_cookie_persistor.rb', line 6 def @changed_cookies end |