Sha256: 963fd64c1805c92caaa791692b7f80347d0d49883e1d9bf94a77cf3acfa207ea

Contents?: true

Size: 255 Bytes

Versions: 22

Compression:

Stored size: 255 Bytes

Contents

module Spree
  module Variants
    class RemoveLineItemJob < Spree::BaseJob
      def perform(line_item:)
        Spree::Dependencies.cart_remove_line_item_service.constantize.call(order: line_item.order, line_item: line_item)
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
spree_core-4.10.1 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.10.0 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.9.0 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.8.3 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.8.2 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.7.3 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.6.6 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.5.5 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.5.4 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.6.5 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.7.2 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.7.1 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.6.4 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.7.0 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.6.3 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.6.2 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.6.1 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.6.0 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.5.3 app/jobs/spree/variants/remove_line_item_job.rb
spree_core-4.5.2 app/jobs/spree/variants/remove_line_item_job.rb