Class: Almaz
- Inherits:
-
Object
- Object
- Almaz
- Defined in:
- lib/almaz.rb
Defined Under Namespace
Constant Summary collapse
- @@session_variable =
'session_id'
- @@redis_config =
{:db => 0}
Class Method Summary collapse
- .redis_config ⇒ Object
- .redis_config=(new_config) ⇒ Object
- .session_variable ⇒ Object
- .session_variable=(val) ⇒ Object
Class Method Details
.redis_config ⇒ Object
19 |
# File 'lib/almaz.rb', line 19 def self.redis_config; @@redis_config; end |
.redis_config=(new_config) ⇒ Object
16 17 18 |
# File 'lib/almaz.rb', line 16 def self.redis_config=(new_config) @@redis_config = new_config end |
.session_variable ⇒ Object
14 |
# File 'lib/almaz.rb', line 14 def self.session_variable; @@session_variable; end |
.session_variable=(val) ⇒ Object
11 12 13 |
# File 'lib/almaz.rb', line 11 def self.session_variable=(val) @@session_variable = val end |