lib/xero_gateway/invoice.rb in xero_gateway-2.4.0 vs lib/xero_gateway/invoice.rb in xero_gateway-2.5.0
- old
+ new
@@ -193,9 +193,10 @@
self.line_items.each do |line_item|
line_item.to_xml(b)
end
}
b.Url url if url
+ b.SentToContact sent_to_contact unless sent_to_contact.nil?
}
end
#TODO UpdatedDateUTC
def self.from_xml(invoice_element, gateway = nil, options = {})