g5_ygl_client_20 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODcyNTQ0MmQ5ZmFhOGE1NzljYzQ2ZjlmMTkyNjJiMmQwNmQwNTkyZg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTE1MWIyYmYyNGFmMDhjOTc5ZjI0OTRiMjQzYWViMzU0NTRiZTJjMQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
M2I2NDY5YzRmNjZiZTIzOWE5YTk2MTNjMWZiYTBlNWJjYTYyZGIxZjlhNmQ4
|
10
|
+
YzFkM2Y2YTZhNThiYmFiN2I1NDg0MmJiMGUxM2YxYzM0OTUwMzAyMDBkNzEx
|
11
|
+
MWU5MzJjNGRlNTgxNDllYTIyYTE2ZTY0N2Q1ODc4NTA5MDg2MmY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NmZkYjFkOGU2YjQ1NjUxZjZhNjE4ZjU2NzYxOWNkMzVlNDVjMTM4MzgyMjA3
|
14
|
+
YjcyNDA1NTEzOWIwZTIyNzUyYWQwOTk3OWYyZGY1ZTkwNjJkOGQzNmMzZTFh
|
15
|
+
YTY0NTZlOTI2N2FjYTU0Zjk3ZWM3Njk2NmU5NDNjNDA5ZmQyZjQ=
|
@@ -12,6 +12,7 @@ module G5YglClient20
|
|
12
12
|
"Address" => {"Email" => "#{lead[:email]}",
|
13
13
|
"PhoneCell" => "#{lead[:phone]}"}},
|
14
14
|
"CallCenterId" => "G5-#{lead[:id]}",
|
15
|
+
"Notes" => {"Notes" => "#{lead[:notes]}"},
|
15
16
|
"ReferralSources" => [{"LeadSourceId" => "#{source_id}", "LeadSourceRank" => "1"}]
|
16
17
|
}.to_json)
|
17
18
|
end
|
@@ -14,12 +14,13 @@ module G5YglClient20
|
|
14
14
|
"Host" => HOST,
|
15
15
|
"Accept" => "application/json",
|
16
16
|
"Content-Type" => "application/json"},
|
17
|
-
:body=>"{\"PrimaryContact\":{\"FirstName\":\"mad\",\"LastName\":\"max\",\"Address\":{\"Email\":\"mad@max.com\",\"PhoneCell\":\"5418675309\"}},\"CallCenterId\":\"G5-50\",\"ReferralSources\":[{\"LeadSourceId\":\"588\",\"LeadSourceRank\":\"1\"}]}")
|
17
|
+
:body=>"{\"PrimaryContact\":{\"FirstName\":\"mad\",\"LastName\":\"max\",\"Address\":{\"Email\":\"mad@max.com\",\"PhoneCell\":\"5418675309\"}},\"CallCenterId\":\"G5-50\",\"Notes\":{\"Notes\":\"Witness Me\"},\"ReferralSources\":[{\"LeadSourceId\":\"588\",\"LeadSourceRank\":\"1\"}]}")
|
18
18
|
|
19
19
|
PostLeadRequest.execute(auth, url, source_id, 1, {first_name: "mad",
|
20
20
|
last_name: "max",
|
21
21
|
email: "mad@max.com",
|
22
22
|
phone: "5418675309",
|
23
|
+
notes: "Witness Me",
|
23
24
|
id: 50})
|
24
25
|
end
|
25
26
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: g5_ygl_client_20
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Bishop
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|