diff options
Diffstat (limited to 'actioncable/test/client/echo_channel.rb')
-rw-r--r-- | actioncable/test/client/echo_channel.rb | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/actioncable/test/client/echo_channel.rb b/actioncable/test/client/echo_channel.rb deleted file mode 100644 index 63e35f194a..0000000000 --- a/actioncable/test/client/echo_channel.rb +++ /dev/null @@ -1,18 +0,0 @@ -class EchoChannel < ActionCable::Channel::Base - def subscribed - stream_from "global" - end - - def ding(data) - transmit(dong: data['message']) - end - - def delay(data) - sleep 1 - transmit(dong: data['message']) - end - - def bulk(data) - ActionCable.server.broadcast "global", wide: data['message'] - end -end |