Class: Munificent::PendingDonationSweeper
- Inherits:
-
Object
- Object
- Munificent::PendingDonationSweeper
- Defined in:
- app/sweepers/munificent/pending_donation_sweeper.rb
Class Method Summary collapse
Class Method Details
.run ⇒ Object
4 5 6 |
# File 'app/sweepers/munificent/pending_donation_sweeper.rb', line 4 def run Donation.pending.created_before(1.day.ago).destroy_all end |