class Snap::Api::ShipmentStatus

Interact with Snapfulfil's shipment status endpoint.

Public Class Methods

model() click to toggle source
# File lib/snap/api/shipment_status.rb, line 13
def self.model
  Snap::ShipmentStatus
end
update(options) click to toggle source
# File lib/snap/api/shipment_status.rb, line 8
def self.update(options)
  shipment_status = Snap::ShipmentStatus.new(options)
  client.put("/shipmentstatus/#{shipment_status.ShipmentId}", body: shipment_status.to_json)
end