Class: Munificent::PendingDonationSweeper

Inherits:
Object
  • Object
show all
Defined in:
app/sweepers/munificent/pending_donation_sweeper.rb

Class Method Summary collapse

Class Method Details

.runObject



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