update call waiter
This commit is contained in:
14
app/channels/call_waiter_channel.rb
Normal file
14
app/channels/call_waiter_channel.rb
Normal 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
|
||||
Reference in New Issue
Block a user