Module: ActiveRedis::ActiveRedisClassMethods
- Defined in:
- lib/active-redis.rb
Instance Attribute Summary collapse
-
#is_using_sunspot ⇒ Object
Returns the value of attribute is_using_sunspot.
-
#param_attribute ⇒ Object
Returns the value of attribute param_attribute.
Instance Method Summary collapse
Instance Attribute Details
#is_using_sunspot ⇒ Object
Returns the value of attribute is_using_sunspot.
72 73 74 |
# File 'lib/active-redis.rb', line 72 def is_using_sunspot @is_using_sunspot end |
#param_attribute ⇒ Object
Returns the value of attribute param_attribute.
72 73 74 |
# File 'lib/active-redis.rb', line 72 def param_attribute @param_attribute end |
Instance Method Details
#add_sunspot_hooks ⇒ Object
78 79 80 |
# File 'lib/active-redis.rb', line 78 def add_sunspot_hooks @is_using_sunspot = true end |
#param_attribute_property(property) ⇒ Object
74 75 76 |
# File 'lib/active-redis.rb', line 74 def param_attribute_property(property) @param_attribute = property end |