Sha256: 7ef0a805e5020b2b97d6f6f061e6564d580b088da4c0ba30f0033f9c91d4190f
Contents?: true
Size: 511 Bytes
Versions: 28
Compression:
Stored size: 511 Bytes
Contents
module Workarea class Fulfillment module Policies class Download < Base def process(order_item:, fulfillment: nil) Fulfillment::Token.create!( order_id: order_item.order.id, order_item_id: order_item.id, sku: sku.id ) return unless fulfillment.present? fulfillment.mark_item_shipped( id: order_item.id.to_s, quantity: order_item.quantity ) end end end end end
Version data entries
28 entries across 28 versions & 1 rubygems