Sha256: c26012f38d6a381a57a5472ddc677d5023ae0aa3d6acde704c1a048a77528653

Contents?: true

Size: 254 Bytes

Versions: 9

Compression:

Stored size: 254 Bytes

Contents

# frozen_string_literal: true

class VerifyBactracsSyncWorker
  include Sidekiq::Worker

  sidekiq_options queue: 'default'

  def perform(shipment_id)
    shipment = Spree::Shipment.find_by!(id: shipment_id)
    shipment.verify_bactracs_sync!
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
solidus_bactracs-4.0.1 app/workers/verify_bactracs_sync_worker.rb
solidus_bactracs-4.0.0 app/workers/verify_bactracs_sync_worker.rb
solidus_bactracs-3.5.2 app/workers/verify_bactracs_sync_worker.rb
solidus_bactracs-3.5.1 app/workers/verify_bactracs_sync_worker.rb
solidus_bactracs-3.5.0 app/workers/verify_bactracs_sync_worker.rb
solidus_bactracs-3.4.0 app/workers/verify_bactracs_sync_worker.rb
solidus_bactracs-3.3.2 app/workers/verify_bactracs_sync_worker.rb
solidus_bactracs-3.3.1 app/workers/verify_bactracs_sync_worker.rb
solidus_bactracs-3.3.0 app/workers/verify_bactracs_sync_worker.rb