module Spree::API::Client::Shipments
Public Instance Methods
ship_shipment(shipment_id, options={})
click to toggle source
# File lib/spree-api-client/shipments.rb, line 17 def ship_shipment(shipment_id, options={}) put("shipments/#{shipment_id}/ship", options) end
shipment_ready(shipment_id, options={})
click to toggle source
# File lib/spree-api-client/shipments.rb, line 13 def shipment_ready(shipment_id, options={}) put("shipments/#{shipment_id}/ready", options) end
shipments(options={})
click to toggle source
# File lib/spree-api-client/shipments.rb, line 5 def shipments(options={}) get("shipments", options)['shipments'] end
update_shipment(shipment_id, options={})
click to toggle source
# File lib/spree-api-client/shipments.rb, line 9 def update_shipment(shipment_id, options={}) put("shipments/#{shipment_id}", options) end