update call waiter

This commit is contained in:
Aung Myo
2017-12-04 19:23:37 +06:30
parent 0c0ba0858a
commit 3354733e41
10 changed files with 123 additions and 1 deletions

View File

@@ -0,0 +1,14 @@
class CallWaiterChannel < ApplicationCable::Channel
def subscribed
stream_from "call_waiter_channel"
end
def unsubscribed
stop_all_streams
# Any cleanup needed when channel is unsubscribed
end
def order(message)
# ToDo
end
end