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,8 @@
class CallWaiterJob < ApplicationJob
queue_as :default
def perform(table,time)
ActionCable.server.broadcast "call_waiter_channel",table: table,time:time
# Rails.logger.debug "Testing: I'm performing my job with arguments: #{table}"
end
end