Class: Snap::Api::ShipmentStatus
- Inherits:
-
Object
- Object
- Snap::Api::ShipmentStatus
- Extended by:
- Client
- Includes:
- HTTParty
- Defined in:
- lib/snap/api/shipment_status.rb
Overview
Interact with Snapfulfil’s shipment status endpoint.
Class Method Summary collapse
Methods included from Client
client, delete, get, post, put, snoop_for_errors, wrap_response
Class Method Details
.model ⇒ Object
13 14 15 |
# File 'lib/snap/api/shipment_status.rb', line 13 def self.model Snap::ShipmentStatus end |
.update(options) ⇒ Object
8 9 10 11 |
# File 'lib/snap/api/shipment_status.rb', line 8 def self.update() shipment_status = Snap::ShipmentStatus.new() client.put("/shipmentstatus/#{shipment_status.ShipmentId}", body: shipment_status.to_json) end |