Class: ActionView::Component::Live::LiveChannel
- Inherits:
-
ActionCable::Channel::Base
- Object
- ActionCable::Channel::Base
- ActionView::Component::Live::LiveChannel
- Defined in:
- app/channels/action_view/component/live/live_channel.rb
Instance Method Summary collapse
Instance Method Details
#notify ⇒ Object
13 14 |
# File 'app/channels/action_view/component/live/live_channel.rb', line 13 def notify end |
#subscribed ⇒ Object
5 6 7 |
# File 'app/channels/action_view/component/live/live_channel.rb', line 5 def subscribed stream_from "action_view:component:live:live:#{params[:component]}:#{params[:id]}" end |
#unsubscribed ⇒ Object
9 10 11 |
# File 'app/channels/action_view/component/live/live_channel.rb', line 9 def unsubscribed # Any cleanup needed when channel is unsubscribed end |