lib/shippinglogic/fedex/enumerations.rb in binarylogic-shippinglogic-1.0.2 vs lib/shippinglogic/fedex/enumerations.rb in binarylogic-shippinglogic-1.0.3
- old
+ new
@@ -57,11 +57,11 @@
]
PACKAGE_TYPES = ["FEDEX_ENVELOPE", "FEDEX_PAK", "FEDEX_BOX", "FEDEX_TUBE", "FEDEX_10KG_BOX", "FEDEX_25KG_BOX", "YOUR_PACKAGING"]
DROP_OFF_TYPES = ["REGULAR_PICKUP", "REQUEST_COURIER", "DROP_BOX", "BUSINESS_SERVICE_CENTER", "STATION"]
RATE_REQUEST_TYPES = ["ACCOUNT", "LIST", "MULTIWEIGHT"]
- COUNTRY_CODES = {
+ FEDEX_COUNTRY_CODES = {
"Albania" => "AL",
"Algeria" => "DZ",
"American Samoa" => "AS",
"Andorra" => "AD",
"Angola" => "AO",
@@ -244,11 +244,10 @@
"Turkmenistan, Republic Of" => "TM",
"Turks & Caicos Is." => "TC",
"U.A.E." => "AE",
"U.S. Virgin Islands" => "VI",
"U.S.A." => "US",
- "United States of America" => "US",
"Uganda" => "UG",
"Ukraine" => "UA",
"United Kingdom" => "GB",
"Uruguay" => "UY",
"Uzbekistan" => "UZ",
@@ -258,9 +257,13 @@
"Vietnam" => "VN",
"Wallis & Futuna Islands" => "WF",
"Yemen" => "YE",
"Zambia" => "ZM",
"Zimbabwe" => "ZW"
+ }
+
+ RAILS_COUNTRY_CODES = {
+ "United States" => "US"
}
end
end
end
\ No newline at end of file