Class: Shower::Stream
- Inherits:
-
Object
- Object
- Shower::Stream
- Defined in:
- lib/shower/stream.rb
Class Method Summary collapse
-
.publish(event, message) ⇒ Object
Publish a message to the gemgento_message stream.
Class Method Details
.publish(event, message) ⇒ Object
Publish a message to the gemgento_message stream
8 9 10 |
# File 'lib/shower/stream.rb', line 8 def self.publish(event, ) $redis.publish(event, .to_json) end |