mct-rd-salesforce 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/mct-rd-salesforce/lead.rb +3 -3
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76b7cb1adbe2e0f90fda599161a24282bbf4a07a
|
4
|
+
data.tar.gz: 3bde367be60c13332275354d6929024303faf83b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f555df68ea3727f8dcda2bcd2ff027269cb2aaab9b6648d9ec573b190b5a69d0d4b6baaf5dc79cc6f682db0dd4aa93107bea9aaaed3f077b19e39a4d9ecbab75
|
7
|
+
data.tar.gz: 392982ce3576864a0181bfa9cf5d55e02bbe7cb142edca8545fa5a4eebac446e0023d27c27e34894ee29c2c67b7057caf6758475d219a507d7697ffb3859a8d2
|
@@ -13,7 +13,7 @@ module MctRdSalesforce
|
|
13
13
|
lead = leads.first;
|
14
14
|
end
|
15
15
|
|
16
|
-
def create(auth_keys = {}, opts = {})
|
16
|
+
def create(auth_keys = {}, opts = {}) #id or false
|
17
17
|
client = MctRdSalesforce::Client.new.getRestfoceClient(auth_keys)
|
18
18
|
newLead = client.create('Lead',
|
19
19
|
FirstName: opts[:name],
|
@@ -26,7 +26,7 @@ module MctRdSalesforce
|
|
26
26
|
Title: opts[:jobTitle]);
|
27
27
|
end
|
28
28
|
|
29
|
-
def update(auth_keys = {}, opts = {})
|
29
|
+
def update(auth_keys = {}, opts = {}) #true
|
30
30
|
client = MctRdSalesforce::Client.new.getRestfoceClient(auth_keys)
|
31
31
|
client.update('Lead',
|
32
32
|
Id: opts[:id],
|
@@ -40,7 +40,7 @@ module MctRdSalesforce
|
|
40
40
|
Title: opts[:jobTitle]);
|
41
41
|
end
|
42
42
|
|
43
|
-
def destroy(leadId, auth_keys = {})
|
43
|
+
def destroy(leadId, auth_keys = {}) #true
|
44
44
|
client = MctRdSalesforce::Client.new.getRestfoceClient(auth_keys)
|
45
45
|
client.destroy('Lead', leadId)
|
46
46
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mct-rd-salesforce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Marcos C. Tinos
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,7 +52,7 @@ dependencies:
|
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '10.0'
|
55
|
-
description:
|
55
|
+
description: Gem that connect and create, read, update and destroy person as a leads on salesforce
|
56
56
|
email:
|
57
57
|
- marcoscastrot@gmail.com
|
58
58
|
executables:
|
@@ -89,5 +89,5 @@ rubyforge_project:
|
|
89
89
|
rubygems_version: 2.4.8
|
90
90
|
signing_key:
|
91
91
|
specification_version: 4
|
92
|
-
summary:
|
92
|
+
summary: Gem that integrates person on salesforce as a lead
|
93
93
|
test_files: []
|