Module: TrickSerial::Serializer::CgiSession::SessionStoreDataHook
- Included in:
- CassandraStoreSerializer, FileStoreSerializer, MemCacheStoreSerializer, PStoreSerializer
- Defined in:
- lib/trick_serial/serializer/cgi_session.rb
Overview
Defines common mixin for interjecting TrickSerial::Serializer before SessionStore#update saves its data.
Defined Under Namespace
Modules: ModuleMethods
Class Method Summary collapse
Instance Method Summary collapse
- #decode_with_trick_serial_serializer! ⇒ Object
-
#encode_with_trick_serial_serializer! ⇒ Object
def restore_with_trick_serial_serializer restore_without_trick_serial_serializer decode_with_trick_serial_serializer! _data end.
Class Method Details
.included(target) ⇒ Object
141 142 143 144 |
# File 'lib/trick_serial/serializer/cgi_session.rb', line 141 def self.included target super target.extend(ModuleMethods) end |
Instance Method Details
#decode_with_trick_serial_serializer! ⇒ Object
171 172 |
# File 'lib/trick_serial/serializer/cgi_session.rb', line 171 def decode_with_trick_serial_serializer! end |
#encode_with_trick_serial_serializer! ⇒ Object
def restore_with_trick_serial_serializer
restore_without_trick_serial_serializer
decode_with_trick_serial_serializer!
_data
end
168 169 |
# File 'lib/trick_serial/serializer/cgi_session.rb', line 168 def encode_with_trick_serial_serializer! end |