Class: Warden::SessionSerializer
- Inherits:
-
Object
- Object
- Warden::SessionSerializer
- Defined in:
- lib/cartoset/auth/warden_strategies.rb
Instance Method Summary collapse
Instance Method Details
#deserialize(user_hash) ⇒ Object
6 7 8 |
# File 'lib/cartoset/auth/warden_strategies.rb', line 6 def deserialize(user_hash) OpenStruct.new(user_hash) end |
#serialize(user_hash) ⇒ Object
2 3 4 |
# File 'lib/cartoset/auth/warden_strategies.rb', line 2 def serialize(user_hash) user_hash end |