Class: Workarea::CleanInventoryTransactions

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Worker
Defined in:
app/workers/workarea/clean_inventory_transactions.rb

Instance Method Summary collapse

Instance Method Details

#perform(*args) ⇒ Object



5
6
7
# File 'app/workers/workarea/clean_inventory_transactions.rb', line 5

def perform(*args)
  Inventory::Transaction.expired.delete_all
end