Sha256: fe75d00e2c42bf74a06d5f9faa40a42e2fdbd845783de05702fef4fece355b99
Contents?: true
Size: 632 Bytes
Versions: 3
Compression:
Stored size: 632 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 def get_shipment_trips_availability(attrs={}) response = post_request('/shipment_trips/availability', attrs).body response end end end end
Version data entries
3 entries across 3 versions & 1 rubygems