Class: SolidusShipstation::Api::ThresholdVerifier
- Inherits:
-
Object
- Object
- SolidusShipstation::Api::ThresholdVerifier
- Defined in:
- lib/solidus_shipstation/api/threshold_verifier.rb
Class Method Summary collapse
Class Method Details
.call(shipment) ⇒ Object
7 8 9 10 11 |
# File 'lib/solidus_shipstation/api/threshold_verifier.rb', line 7 def call(shipment) return false unless shipment.order.completed? !!(shipment_requires_creation?(shipment) || shipment_requires_update?(shipment)) end |