Skip to content

Commit

Permalink
use full name for SolidusBactracs::Api::BaseSyncJob
Browse files Browse the repository at this point in the history
  • Loading branch information
NewAlexandria committed Jun 8, 2023
1 parent c2ef1c2 commit 5ecdf59
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module SolidusBactracs
module Api
class ScheduleShipmentSyncsJob < BaseSyncJob
class ScheduleShipmentSyncsJob < SolidusBactracs::Api::BaseSyncJob

def perform
shipments = query_shipments
Expand Down
2 changes: 1 addition & 1 deletion app/jobs/solidus_bactracs/api/sync_shipment_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module SolidusBactracs
module Api
class SyncShipmentJob < BaseSyncJob
class SyncShipmentJob < SolidusBactracs::Api::BaseSyncJob

def perform(shipment_id: nil, error_handler: nil, shipment_serializer: nil, request_runner: nil)
shipment = ::Spree::Shipment.find(shipment_id)
Expand Down
2 changes: 1 addition & 1 deletion app/jobs/solidus_bactracs/api/sync_shipments_job.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module SolidusBactracs
module Api
class SyncShipmentsJob < BaseSyncJob
class SyncShipmentsJob < SolidusBactracs::Api::BaseSyncJob

def perform(shipment_ids)
shipments = ::Spree::Shipment.where(id: shipment_ids)
Expand Down
2 changes: 1 addition & 1 deletion app/workers/verify_bactracs_sync_worker.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

class VerifyBactracsSyncWorker < BaseSyncJob
class VerifyBactracsSyncWorker < SolidusBactracs::Api::BaseSyncJob
def perform(shipment_id)
shipment = Spree::Shipment.find_by!(id: shipment_id)
shipment.verify_bactracs_sync!
Expand Down

0 comments on commit 5ecdf59

Please sign in to comment.