add cable but not complete

This commit is contained in:
Yan
2017-05-30 19:02:40 +06:30
parent c7a4adc7cc
commit e46fe1ec7c
12 changed files with 90 additions and 10 deletions

View File

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