Class: MailCannon::Barrel
- Inherits:
-
Object
- Object
- MailCannon::Barrel
- Includes:
- Sidekiq::Worker
- Defined in:
- lib/mailcannon/workers/barrel.rb
Overview
This worker handles Envelopes dispatch
Instance Method Summary collapse
Instance Method Details
#perform(envelope_id) ⇒ Object
5 6 7 8 |
# File 'lib/mailcannon/workers/barrel.rb', line 5 def perform(envelope_id) envelope_id = envelope_id['$oid'] if envelope_id['$oid'] shoot!(envelope_id) end |