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