Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

add account_id to parse_contact #3

Merged
merged 1 commit into from Jun 28, 2011
Jump to file or symbol
Failed to load files and symbols.
+1 −0
Split
View
@@ -605,6 +605,7 @@ def parse_contact(node)
:reports_to => xml_to_str(node, './reportsTo/text()'),
:owner_id => xml_to_int(node, './ownerId/text()'),
:contact_id => xml_to_int(node, './contactId/text()'),
+ :account_id => xml_to_int(node, './accountId/text()'),
:custom_fields => node.xpath('./customFields', ns).map { |child| parse_custom_field(child) }
}
end