Class: ExpiredInventoryCommitsWorker

Inherits:
Object
  • Object
show all
Includes:
Sidekiq::Job
Defined in:
app/workers/expired_inventory_commits_worker.rb

Overview

Sidekiq worker: expired inventory commits.

Instance Method Summary collapse

Instance Method Details

#performObject



7
8
9
10
# File 'app/workers/expired_inventory_commits_worker.rb', line 7

def perform
  Item::InventoryCommitter.uncommit_expired
  Item::InventoryCommitter.uncommit_invoiced
end