Class: CustomerServiceIm::ConversationsChannel

Inherits:
ApplicationCable::Channel show all
Defined in:
app/channels/customer_service_im/conversations_channel.rb

Instance Method Summary collapse

Instance Method Details

#subscribedObject



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

#unsubscribedObject



8
9
10
# File 'app/channels/customer_service_im/conversations_channel.rb', line 8

def unsubscribed
  # Any cleanup needed when channel is unsubscribed
end