module Unforlogistics::Core::ShipmentDispatches

Public Instance Methods

cancel_shipment_dispatch(id) click to toggle source
# File lib/unforlogistics/core/shipment_dispatches.rb, line 20
def cancel_shipment_dispatch(id)
  response = put_request("/shipment_dispatches/#{id}/cancellation")

  get_persistance_response(response)
end
create_shipment_dispatch(attrs={}) click to toggle source
# File lib/unforlogistics/core/shipment_dispatches.rb, line 14
def create_shipment_dispatch(attrs={})
  response = post_request('/shipment_dispatches', attrs)

  get_persistance_response(response)
end
get_shipment_dispatch(filters={}) click to toggle source
# File lib/unforlogistics/core/shipment_dispatches.rb, line 4
def get_shipment_dispatch(filters={})
  response = get_request('/shipment_dispatches', filters)

  get_paging_response(response)
end