Module: Status
- Defined in:
- lib/city_watch/util/status.rb
Instance Method Summary collapse
- #set_status_var(var, val, host = host) ⇒ Object
- #status_var(var, host = host) ⇒ Object
- #status_vars(host = host) ⇒ Object
Instance Method Details
#set_status_var(var, val, host = host) ⇒ Object
3 4 5 |
# File 'lib/city_watch/util/status.rb', line 3 def set_status_var(var,val,host=host) CityWatch.redis.hset "#{CityWatch.config[:prefix]}::#{host}::#{self.name}::status", var, val end |