Sha256: 999d12f3542a3077d6d9d3ec20da9c16304b9028b471cfb6915037bcd78b2844

Contents?: true

Size: 259 Bytes

Versions: 3

Compression:

Stored size: 259 Bytes

Contents

class MailCannon::EnvelopeBagReduceJob
  include Sidekiq::Worker
  
  def perform(envelope_bag_ids)
    envelope_bag_ids.each do |id|
      id = id['$oid'] if id['$oid']
      MailCannon::EnvelopeBag.reduce_statistics_for_envelope_bag(id)
    end
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mailcannon-0.1.1 lib/mailcannon/workers/envelope_bag_reduce_job.rb
mailcannon-0.1.0.pre.1 lib/mailcannon/workers/envelope_bag_reduce_job.rb
mailcannon-0.0.8.pre.1 lib/mailcannon/workers/envelope_bag_reduce_job.rb