Class: Vendors::Bistrochat::WebhookWorker

Inherits:
ApplicationWorker
  • Object
show all
Defined in:
app/workers/vendors/bistrochat/webhook_worker.rb

Instance Method Summary collapse

Instance Method Details

#perform(reservation_id, _syncable_id) ⇒ Object



6
7
8
9
10
11
# File 'app/workers/vendors/bistrochat/webhook_worker.rb', line 6

def perform(reservation_id, _syncable_id)
  VendorsService::SupplierWebhookService.new(
    reservation_id: reservation_id,
    supplier: :bistrochat,
  ).execute
end