lib/shippinglogic/fedex/request.rb in binarylogic-shippinglogic-1.1.1 vs lib/shippinglogic/fedex/request.rb in binarylogic-shippinglogic-1.1.2
- old
+ new
@@ -46,9 +46,10 @@
# A convenience method for building the contact block in your XML request
def build_contact(b, type)
b.Contact do
b.PersonName send("#{type}_name") if send("#{type}_name")
b.Title send("#{type}_title") if send("#{type}_title")
+ b.Department send("#{type}_department") if send("#{type}_department")
b.CompanyName send("#{type}_company_name") if send("#{type}_company_name")
b.PhoneNumber send("#{type}_phone_number") if send("#{type}_phone_number")
b.EmailAddress send("#{type}_email") if send("#{type}_email")
end
end
\ No newline at end of file