Class: Webhookdb::Jobs::FrontSignalwireMessageChannelSyncInbound

Inherits:
Object
  • Object
show all
Extended by:
Async::Job
Defined in:
lib/webhookdb/jobs/front_signalwire_message_channel_sync_inbound.rb

Overview

See Webhookdb::Replicator::FrontSignalwireMessageChannelAppV1#alert_async_failed_signalwire_send for why we need to pull this into an async job.

Instance Method Summary collapse

Methods included from Async::Job

extended

Instance Method Details

#perform(service_integration_id, kwargs) ⇒ Object



11
12
13
14
# File 'lib/webhookdb/jobs/front_signalwire_message_channel_sync_inbound.rb', line 11

def perform(service_integration_id, kwargs)
  sint = self.lookup_model(Webhookdb::ServiceIntegration, service_integration_id)
  sint.replicator.sync_front_inbound_message(**kwargs.symbolize_keys)
end