Sha256: 397451d4fa4afd92947e849df01b6e910420147c4abce01a7890ea09f28b67e7
Contents?: true
Size: 620 Bytes
Versions: 2
Compression:
Stored size: 620 Bytes
Contents
module Unforlogistics module Core module Misc def get_courier_providers get_request('/courier_providers') end def get_courier_provider(code) get_request("/courier_providers/#{code}") end def get_distribution_centers get_request('/distribution_centers') end def get_distribution_center(code) get_request("/distribution_centers/#{code}") end def get_shipment_modes get_request('/shipment_modes') end def get_shipment_mode(code) get_request("/shipment_modes/#{code}") end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
unforlogistics-api-0.8 | lib/unforlogistics/core/misc.rb |
unforlogistics-api-0.7 | lib/unforlogistics/core/misc.rb |