Class: CommunicationEventWorker
- Inherits:
-
Object
- Object
- CommunicationEventWorker
- Includes:
- Sidekiq::Job
- Defined in:
- app/workers/communication_event_worker.rb
Overview
DEPRECATED: This worker is part of the legacy SendGrid webhook system.
New SendGrid webhooks are handled by:
- Webhooks::V1::SendgridController (ingests to WebhookLog)
- WebhookProcessorWorker (processes WebhookLog entries)
- WebhookProcessors::SendgridProcessor (SendGrid-specific processing)
This worker is kept temporarily to process any jobs remaining in the queue.
It can be deleted once the queue is confirmed empty.
options hash:
{
"email": "john.doe@sendgrid.com",
"timestamp": 1337197600,
"unique-id": "4FB4041F.6080505@sendgrid.com",
"event": "processed"
}
Instance Method Summary collapse
Instance Method Details
#perform(options) ⇒ Object
24 25 26 27 |
# File 'app/workers/communication_event_worker.rb', line 24 def perform() Rails.logger.warn '[DEPRECATION] CommunicationEventWorker is deprecated. Use WebhookProcessorWorker instead.' Communication::EventParser.new.process() end |