Sha256: 0b7addad34ddcb3d0e81e762c79de75ebbe1621d9f254c7424048c5d28a2db14

Contents?: true

Size: 207 Bytes

Versions: 3

Compression:

Stored size: 207 Bytes

Contents

namespace :po_box do
  desc "Backfill inboxes for emailables"
  task backfill_emailables: :environment do
    PoBox.emailable_class.all.each do |emailable|
      emailable.send(:set_inbox)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
po_box-0.1.2 lib/tasks/po_box.rake
po_box-0.1.1 lib/tasks/po_box.rake
po_box-0.1.0 lib/tasks/po_box.rake