lib/canada_post.rb in canada_post-0.1.1 vs lib/canada_post.rb in canada_post-0.1.2

- old
+ new

@@ -72,19 +72,19 @@ xml = Builder::XmlMarkup.new xml.instruct! xml.eparcel do xml.language 'en' xml.ratesAndServicesRequest do - buildTags(xml, [:merchantCPCID, :fromPostalCode, :turnAroundTime, :itemsPrice], @merchantInfo]) + buildTags(xml, [:merchantCPCID, :fromPostalCode, :turnAroundTime, :itemsPrice], @merchantInfo) xml.lineItems do @items.each do |item| xml.item do buildTags(xml, [:quantity, :weight, :length, :width, :height, :description], item) end xml.readyToShip if item[:readyToShip] end end - buildTags(xml, [:city, :provOrState, :country, :postalCode], @customerInfo]) + buildTags(xml, [:city, :provOrState, :country, :postalCode], @customerInfo) end end return xml.target! end