Class: ModelTransporter::PushAdapter::ActionCable
- Inherits:
-
Object
- Object
- ModelTransporter::PushAdapter::ActionCable
- Defined in:
- lib/model_transporter/push_adapter/action_cable.rb
Instance Method Summary collapse
Instance Method Details
#push_update(channel, message) ⇒ Object
4 5 6 |
# File 'lib/model_transporter/push_adapter/action_cable.rb', line 4 def push_update(channel, ) ::ActionCable.server.broadcast(channel, ) end |