lib/spree_signifyd.rb in solidus_signifyd-1.0.0 vs lib/spree_signifyd.rb in solidus_signifyd-1.0.1
- old
+ new
@@ -18,10 +18,10 @@
end
end
def approve(order:)
order.contents.approve(name: self.name)
- order.shipments.each { |shipment| shipment.ready! unless shipment.ready? }
+ order.shipments.each { |shipment| shipment.ready! if shipment.pending? }
order.updater.update_shipment_state
order.save!
end
def create_case(order_number:)