lead_create 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lead_create.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e10ec090ee06fd58d180f49b54e07128a153ffc
|
4
|
+
data.tar.gz: b338c2287662a865c47860b7770a75c70650170b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4472554c067bb7154f2f1f9419feb3ab392b356d35ed858375a53f227f9ff3f073cade5f601139e30b3315e7cefeb8aa7dda50517b97deddf27656102fc8a554
|
7
|
+
data.tar.gz: aee5028a1570be73b9b93cff2c55e6bc70cded04212382f9c8e957263b3fb4cbca56040005042c1bd44670172f7620323932aa8778aed413f269d77f7a1a1c81
|
data/lib/lead_create.rb
CHANGED
@@ -6,7 +6,7 @@ class LeadCreate
|
|
6
6
|
lead = client.materialize('Lead')
|
7
7
|
user = client.materialize('User')
|
8
8
|
@lead = lead.new
|
9
|
-
@lead.OwnerId = user.first.
|
9
|
+
@lead.OwnerId = user.first.Id
|
10
10
|
@lead.FirstName = contato.name
|
11
11
|
@lead.LastName = contato.last_name
|
12
12
|
@lead.Email = contato.email
|