Module: Spree::API::Client::Shipments

Included in:
Spree::API::Client
Defined in:
lib/spree-api-client/shipments.rb

Instance Method Summary collapse

Instance Method Details

#ship_shipment(shipment_id, options = {}) ⇒ Object



9
10
11
# File 'lib/spree-api-client/shipments.rb', line 9

def ship_shipment(shipment_id, options={})
  put("shipments/#{shipment_id}/ship", options)
end

#shipment_ready(shipment_id, options = {}) ⇒ Object



5
6
7
# File 'lib/spree-api-client/shipments.rb', line 5

def shipment_ready(shipment_id, options={})
  put("shipments/#{shipment_id}/ready", options)
end