Class: Anycable::PubSub
- Inherits:
-
Object
- Object
- Anycable::PubSub
- Defined in:
- lib/anycable/pubsub.rb
Overview
PubSub for broadcasting
Instance Attribute Summary collapse
-
#redis_conn ⇒ Object
readonly
Returns the value of attribute redis_conn.
Instance Method Summary collapse
- #broadcast(channel, payload) ⇒ Object
-
#initialize ⇒ PubSub
constructor
A new instance of PubSub.
Constructor Details
Instance Attribute Details
#redis_conn ⇒ Object (readonly)
Returns the value of attribute redis_conn.
7 8 9 |
# File 'lib/anycable/pubsub.rb', line 7 def redis_conn @redis_conn end |