lib/sellsy/prospect.rb in sellsy-client-0.7.0 vs lib/sellsy/prospect.rb in sellsy-client-0.8.0
- old
+ new
@@ -78,9 +78,10 @@
if response['response']
response['response']['result'].each do |key, value|
prospect = Prospect.new
prospect.id = key
prospect.name = value['fullName']
+ prospect.email = value['email']
prospects << prospect
end
end
prospects