Sha256: b68c4a8a514f1ba2cb4c4f9862d58ea225cab9d5b18f7d72b688c153342a5963
Contents?: true
Size: 674 Bytes
Versions: 32
Compression:
Stored size: 674 Bytes
Contents
# frozen_string_literal: true module FriendlyShipping module Services class UpsFreight ORIGIN_COUNTRIES = %w( CA MX PR US ).map { |country_code| Carmen::Country.coded(country_code) }.freeze SHIPPING_METHODS = [ ['308', 'UPS Freight LTL'], ['309', 'UPS Freight LTL - Guaranteed'], ['334', 'UPS Freight LTL - Guaranteed A.M.'], ['349', 'UPS Standard LTL'] ].freeze.map do |code, name| FriendlyShipping::ShippingMethod.new( name: name, service_code: code, origin_countries: ORIGIN_COUNTRIES, multi_package: true ).freeze end end end end
Version data entries
32 entries across 32 versions & 1 rubygems