Class: AuthManager::Base
- Inherits:
-
Object
- Object
- AuthManager::Base
- Defined in:
- lib/auth_manager/base.rb
Direct Known Subclasses
Constant Summary collapse
- USERS =
'users'- APPS =
'applications'
Instance Attribute Summary collapse
-
#redis ⇒ Object
Returns the value of attribute redis.
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/auth_manager/base.rb', line 8 def initialize @redis = Redis.current end |
Instance Attribute Details
#redis ⇒ Object
Returns the value of attribute redis.
3 4 5 |
# File 'lib/auth_manager/base.rb', line 3 def redis @redis end |