Class: SpreeSquare::ReconciliationJob

Inherits:
BaseJob
  • Object
show all
Defined in:
app/jobs/spree_square/reconciliation_job.rb

Overview

Nightly safety net for missed or failed webhooks — re-runs the same catalog import and inventory sync services M2/M3 already built (no new sync logic), just as a full pass instead of an incremental one. Cheap insurance for a restaurant-sized catalog; not built for a bulk catalog.

Instance Method Summary collapse

Instance Method Details

#performObject



11
12
13
14
# File 'app/jobs/spree_square/reconciliation_job.rb', line 11

def perform
  SpreeSquare::CatalogImporter.call
  reconcile_inventory
end