Class: RedisRing::WebInterface
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- RedisRing::WebInterface
- Defined in:
- lib/redis_ring/web_interface.rb
Class Attribute Summary collapse
-
.master ⇒ Object
Returns the value of attribute master.
-
.slave ⇒ Object
Returns the value of attribute slave.
Instance Method Summary collapse
Class Attribute Details
.master ⇒ Object
Returns the value of attribute master.
72 73 74 |
# File 'lib/redis_ring/web_interface.rb', line 72 def master @master end |
.slave ⇒ Object
Returns the value of attribute slave.
72 73 74 |
# File 'lib/redis_ring/web_interface.rb', line 72 def slave @slave end |
Instance Method Details
#master ⇒ Object
34 35 36 |
# File 'lib/redis_ring/web_interface.rb', line 34 def master self.class.master end |
#slave ⇒ Object
38 39 40 |
# File 'lib/redis_ring/web_interface.rb', line 38 def slave self.class.slave end |