Permalink
Browse files

add assignment

  • Loading branch information...
1 parent 6486dda commit d5a9ccde59231eb763ebb57daaec4cc37a6c1181 @nolastan nolastan committed Sep 17, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/zohoho/crm.rb
View
@@ -44,6 +44,7 @@ def remove_lead(email)
leads = find_leads_by_email(email)
if leads.count > 0
leads.first['LEADID']
+ id = leads.first['LEADID']
xmlData = parse_data({'id' => id}, 'Leads')
@conn.call('Leads', "deleteRecords", {:xmlData => xmlData, :newFormat => 1}, :get)
else

0 comments on commit d5a9ccd

Please sign in to comment.