Class: UserContext
- Inherits:
-
Object
- Object
- UserContext
- Defined in:
- lib/models/user_context.rb
Class Method Summary collapse
Class Method Details
.current_user ⇒ Object
11 12 13 |
# File 'lib/models/user_context.rb', line 11 def self.current_user @@user_bag['koda_user'] end |
.current_user=(value) ⇒ Object
15 16 17 |
# File 'lib/models/user_context.rb', line 15 def self.current_user=(value) @@user_bag['koda_user'] = value end |
.user_bag ⇒ Object
3 4 5 |
# File 'lib/models/user_context.rb', line 3 def self.user_bag @@user_bag end |
.user_bag=(value) ⇒ Object
7 8 9 |
# File 'lib/models/user_context.rb', line 7 def self.user_bag=(value) @@user_bag = value end |