Sha256: 24c378ba47251c11b3238ead9ed0d04a8f1ef8d77496e3b7caf2297e753f9fa1

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

# Bouquet::Gate::ShipmentJob.perform_later
module Bouquet::Gate
  class ShipmentJob < Bouquet::Gate::ApplicationJob
    queue_as :default

    def perform(sales_order)
      sales_order.shipping

      ActiveRecord::Base.transaction do
        sales_order.shipment.delivering
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bouquet-0.2.2 gate/app/jobs/bouquet/gate/shipment_job.rb
bouquet-0.2.1 gate/app/jobs/bouquet/gate/shipment_job.rb
bouquet-0.2.0 gate/app/jobs/bouquet/gate/shipment_job.rb