lib/active_shipping/carriers/fedex.rb in active_shipping-1.9.1 vs lib/active_shipping/carriers/fedex.rb in active_shipping-1.9.2

- old
+ new

@@ -240,11 +240,11 @@ build_package_dimensions_node(xml, package, imperial) # Reference Numbers reference_numbers = Array(package.options[:reference_numbers]) if reference_numbers.size > 0 - xml.CustomerReferences do - reference_numbers.each do |reference_number_info| + reference_numbers.each do |reference_number_info| + xml.CustomerReferences do xml.CustomerReferenceType(reference_number_info[:type] || "CUSTOMER_REFERENCE") xml.Value(reference_number_info[:value]) end end end