Sha256: 15bdb09a0aa371b079b548acd60fd72d0b05af6e774499dc6551b470cab1366d
Contents?: true
Size: 475 Bytes
Versions: 1
Compression:
Stored size: 475 Bytes
Contents
module Unforlogistics module Core module ShipmentTrips def get_shipment_trips(filters={}) response = get_request('/shipment_trips', filters) get_paging_response(response) end def get_shipment_trip(id) get_request("/shipment_trips/#{id}").body end def create_shipment_trip(attrs={}) response = post_request('/shipment_trips', attrs) get_persistance_response(response) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unforlogistics-api-0.9 | lib/unforlogistics/core/shipment_trips.rb |