Class: SpreeCmCommissioner::TelegramAlerts::IntegrationSyncFailureJob
- Inherits:
-
ApplicationJob
- Object
- ActiveJob::Base
- ApplicationJob
- ApplicationJob
- SpreeCmCommissioner::TelegramAlerts::IntegrationSyncFailureJob
- Defined in:
- app/jobs/spree_cm_commissioner/telegram_alerts/integration_sync_failure_job.rb
Instance Method Summary collapse
-
#perform(options) ⇒ Object
Handle error by logging and sending alert.
Methods included from ApplicationJobDecorator
handle_deserialization_error, prepended
Instance Method Details
#perform(options) ⇒ Object
Handle error by logging and sending alert
9 10 11 12 13 14 |
# File 'app/jobs/spree_cm_commissioner/telegram_alerts/integration_sync_failure_job.rb', line 9 def perform() SpreeCmCommissioner::TelegramAlerts::IntegrationSyncFailure.call( error_message: [:error_message], data: [:data] || {} ) end |