module Unforlogistics::Core::ShipmentDispatchHandlings

Public Instance Methods

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

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

  get_persistance_response(response)
end
get_shipment_dispatch_handling(id) click to toggle source
# File lib/unforlogistics/core/shipment_dispatch_handlings.rb, line 10
def get_shipment_dispatch_handling(id)
  get_request("/shipment_dispatch_handlings/#{id}").body
end
get_shipment_dispatch_handlings(filters={}) click to toggle source
# File lib/unforlogistics/core/shipment_dispatch_handlings.rb, line 4
def get_shipment_dispatch_handlings(filters={})
  response = get_request('/shipment_dispatch_handlings', filters)

  get_paging_response(response)
end