Class: CustomerServiceIm::ConversationsChannel
- Inherits:
-
ApplicationCable::Channel
- Object
- ActionCable::Channel::Base
- ApplicationCable::Channel
- CustomerServiceIm::ConversationsChannel
- Defined in:
- app/channels/customer_service_im/conversations_channel.rb
Instance Method Summary collapse
Instance Method Details
#subscribed ⇒ Object
3 4 5 6 |
# File 'app/channels/customer_service_im/conversations_channel.rb', line 3 def subscribed # stream_from "some_channel" stream_from "customer_service_im/conversations_channel" end |
#unsubscribed ⇒ Object
8 9 10 |
# File 'app/channels/customer_service_im/conversations_channel.rb', line 8 def unsubscribed # Any cleanup needed when channel is unsubscribed end |