Module: Spree::API::Client::Shipments
- Included in:
- Spree::API::Client
- Defined in:
- lib/spree-api-client/shipments.rb
Instance Method Summary collapse
- #ship_shipment(order_number, shipment_id, options = {}) ⇒ Object
- #shipment_ready(order_number, shipment_id, options = {}) ⇒ Object
Instance Method Details
#ship_shipment(order_number, shipment_id, options = {}) ⇒ Object
9 10 11 |
# File 'lib/spree-api-client/shipments.rb', line 9 def ship_shipment(order_number, shipment_id, ={}) put("orders/#{order_number}/shipments/#{shipment_id}/ship", ) end |
#shipment_ready(order_number, shipment_id, options = {}) ⇒ Object
5 6 7 |
# File 'lib/spree-api-client/shipments.rb', line 5 def shipment_ready(order_number, shipment_id, ={}) put("orders/#{order_number}/shipments/#{shipment_id}/ready", ) end |