Class: UserCopyPropagateChannel

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

Overview

typed: true

Instance Method Summary collapse

Instance Method Details

#subscribedObject



3
4
5
# File 'app/channels/user_copy_propagate_channel.rb', line 3

def subscribed
  stream_from "all"
end

#unsubscribedObject



7
8
9
# File 'app/channels/user_copy_propagate_channel.rb', line 7

def unsubscribed
  # Any cleanup needed when channel is unsubscribed
end