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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/lead_create.rb +2 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86e6905a2f83588f58bf657086ec8905e034039a
4
- data.tar.gz: 4c2dc2caf72892a84e346e67fdcfa77a182c30a7
3
+ metadata.gz: a0beaa28d3fc9ac527ea6ee1cc6ce1ae9908aa8e
4
+ data.tar.gz: d8462e43f54e26e9175c792e69c6d3f028019425
5
5
  SHA512:
6
- metadata.gz: 147033a1466d1197ea1273f7c162dbd46454067fae126ce596ebc8ccea84008a67d8f17992ebc4a1a89a60783b75f62d11c85ff5d1f4e6cdcf212ecca4f19163
7
- data.tar.gz: e11d034e762bdc41b06ad1c1918ecd8cc1ab1d8b4f94fbda2308bc90ad191cc87effed76c9a463c8215be5dae6546eccbd8e538b70dc1cc1ea95c84068cfae80
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)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lead_create
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matheus Lucena