lead_create 0.0.7 → 0.0.8
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 +2 -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: a0beaa28d3fc9ac527ea6ee1cc6ce1ae9908aa8e
|
4
|
+
data.tar.gz: d8462e43f54e26e9175c792e69c6d3f028019425
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d8b79cd00e65a82845ab55a3c96ca6b6c480fe0cf6998e2e70b7a7103a606acc0825848a7b6dabd159846f508d9fcc2005dd469801a619187a2030f378385818
|
7
|
+
data.tar.gz: 1382231ad62a9dd8dd8bf6d63a85ee1319f49cb2a9cb45b9261098270dc32f08ba53c159116506cfa50a05d5a8e8f14e8d61dd48f955fcfef4ef583e7c51873f
|
data/lib/lead_create.rb
CHANGED
@@ -17,7 +17,8 @@ class LeadCreate
|
|
17
17
|
def get_lead_object
|
18
18
|
client = Databasedotcom::Client.new('config/databasedotcom.yml')
|
19
19
|
client.authenticate :username => 'matheuslucena@gmail.com', :password => 'slayer666DT0tilUUmpLca7X5kWKGCKDf'
|
20
|
-
client.materialize('Lead')
|
20
|
+
lead = client.materialize('Lead')
|
21
|
+
return lead
|
21
22
|
end
|
22
23
|
|
23
24
|
def load_new_lead(contato)
|