lead_create 0.0.8 → 0.0.9
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 -3
- 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: 06a33d7c61a0c826888f5da741e592984ae89d32
|
4
|
+
data.tar.gz: 537f7bb0182011260219391908520fdf68a6653e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea168a4e725e0be4e6bad0fbf6e92e15f1758a649e74a92d2764a397a1004788fa6a1008fd24bf937edab821af6b3a12883ebf8a9ecaecaad61118b9fd5be38e
|
7
|
+
data.tar.gz: 647176204db4015280b5538eec2889b02e6ec5cf5efa6984909a5f89de7b66fcf011376f28545fe42a009c583ffa93e794d6dfbdf41b197e08a26d3989e27275
|
data/lib/lead_create.rb
CHANGED
@@ -13,12 +13,10 @@ class LeadCreate
|
|
13
13
|
lead.all
|
14
14
|
end
|
15
15
|
|
16
|
-
private
|
17
16
|
def get_lead_object
|
18
17
|
client = Databasedotcom::Client.new('config/databasedotcom.yml')
|
19
18
|
client.authenticate :username => 'matheuslucena@gmail.com', :password => 'slayer666DT0tilUUmpLca7X5kWKGCKDf'
|
20
|
-
|
21
|
-
return lead
|
19
|
+
client.materialize('Lead')
|
22
20
|
end
|
23
21
|
|
24
22
|
def load_new_lead(contato)
|