g5_ygl_client_20 1.0.3 → 1.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,15 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 4b6f8380726c23c8d9c0c3a993a43db60b2357f4
4
- data.tar.gz: eafb78acb84c05f3dbd31d62f02c239ae4ac1d30
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ ZTlkODYzYmQ2M2U1MzkxNDU3YjM1ZjJiNTBmZjVlYmE1ZjNjMWQxYw==
5
+ data.tar.gz: !binary |-
6
+ YzNkNzQxMTA1OTY2N2U0NDBjMmM1ZWQ3ZDY4MTJkMWI4MDRkMTBhNw==
5
7
  SHA512:
6
- metadata.gz: 1ae7a3b134b16f06e95a4cbfe4e91217def3c83e75c381eb2c6e26afcbfa8c94c8bd5697b3db5b79dceffaaaa5fd2836290d6750e073d1abea441208290e8dd9
7
- data.tar.gz: 3e8a942294df26af30e704221e6c547411a94c7b0bb8e4bc48931ea3e9d5aecdf5d4d131bbd62cf8d49f6e8fdc90f6080882d75ec6edfb1fe92de0b028f57b78
8
+ metadata.gz: !binary |-
9
+ YmJkMzZkOGUyMTk2YTVlOTk1NTIzNzM2MWU5OTdlNTllMGY1OWUwMzJmMjQ4
10
+ M2ZkMzc1NjE4NmVjYThlNjgwNGVlNDkxMGE0M2ViZGI0ZmYzODVhOWMyNWFj
11
+ MjFhZTgyMTYzYWQ4YjZhZDIxNThjOTYyNDI5ZDU4ZjYxYjhkY2Q=
12
+ data.tar.gz: !binary |-
13
+ MDc2OTVjZmRlNjVmMmRkODdkOTJhMTA1MjJhMmNlYzFiZmQ2OWY2OTk2ZTQw
14
+ MjI5Zjg5ZDA5YzEyOTAwOGM3ZTMwOThmNWQzYzA5NGM0OTgyNDRjZTRlNmUy
15
+ NzhhOGZlMWIwZDJmMDM0ODEzOWJmNjVkNDM1ZGE4MGZiMzk2YTc=
@@ -11,7 +11,7 @@ module G5YglClient20
11
11
  "LastName" => "#{lead[:last_name]}",
12
12
  "Address" => {"Email" => "#{lead[:email]}",
13
13
  "PhoneCell" => "#{lead[:phone]}"}},
14
- "CallCenterId" => "G5",
14
+ "CallCenterId" => "G5-#{lead[:id]}",
15
15
  "ReferralSources" => [{"LeadSourceId" => "588", "LeadSourceRank" => "1"}]
16
16
  }.to_json)
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module G5YglClient20
2
- VERSION = "1.0.3"
2
+ VERSION = "1.0.4"
3
3
  end
@@ -13,12 +13,13 @@ module G5YglClient20
13
13
  "Host" => HOST,
14
14
  "Accept" => "application/json",
15
15
  "Content-Type" => "application/json"},
16
- :body=>"{\"PrimaryContact\":{\"FirstName\":\"mad\",\"LastName\":\"max\",\"Address\":{\"Email\":\"mad@max.com\",\"PhoneCell\":\"5418675309\"}},\"CallCenterId\":\"G5\",\"ReferralSources\":[{\"LeadSourceId\":\"588\",\"LeadSourceRank\":\"1\"}]}")
16
+ :body=>"{\"PrimaryContact\":{\"FirstName\":\"mad\",\"LastName\":\"max\",\"Address\":{\"Email\":\"mad@max.com\",\"PhoneCell\":\"5418675309\"}},\"CallCenterId\":\"G5-50\",\"ReferralSources\":[{\"LeadSourceId\":\"588\",\"LeadSourceRank\":\"1\"}]}")
17
17
 
18
18
  PostLeadRequest.execute(auth, url, 1, {first_name: "mad",
19
19
  last_name: "max",
20
20
  email: "mad@max.com",
21
- phone: "5418675309"})
21
+ phone: "5418675309",
22
+ id: 50})
22
23
  end
23
24
  end
24
25
 
metadata CHANGED
@@ -1,111 +1,111 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g5_ygl_client_20
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
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-01-11 00:00:00.000000000 Z
11
+ date: 2016-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - ! '>='
18
18
  - !ruby/object:Gem::Version
19
19
  version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - ! '>='
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: activesupport
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
31
+ - - ! '>='
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - ">="
38
+ - - ! '>='
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: httparty
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - ! '>='
46
46
  - !ruby/object:Gem::Version
47
47
  version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - ! '>='
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: bundler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ~>
60
60
  - !ruby/object:Gem::Version
61
61
  version: '1.7'
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ~>
67
67
  - !ruby/object:Gem::Version
68
68
  version: '1.7'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rake
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - "~>"
73
+ - - ~>
74
74
  - !ruby/object:Gem::Version
75
75
  version: '10.0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - "~>"
80
+ - - ~>
81
81
  - !ruby/object:Gem::Version
82
82
  version: '10.0'
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: gemfury_helpers
85
85
  requirement: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">="
87
+ - - ! '>='
88
88
  - !ruby/object:Gem::Version
89
89
  version: '0'
90
90
  type: :development
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
- - - ">="
94
+ - - ! '>='
95
95
  - !ruby/object:Gem::Version
96
96
  version: '0'
97
97
  - !ruby/object:Gem::Dependency
98
98
  name: rspec
99
99
  requirement: !ruby/object:Gem::Requirement
100
100
  requirements:
101
- - - ">="
101
+ - - ! '>='
102
102
  - !ruby/object:Gem::Version
103
103
  version: '0'
104
104
  type: :development
105
105
  prerelease: false
106
106
  version_requirements: !ruby/object:Gem::Requirement
107
107
  requirements:
108
- - - ">="
108
+ - - ! '>='
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
111
  description: Ride Eternal in Valhalla - Shiny and Chrome
@@ -115,8 +115,8 @@ executables: []
115
115
  extensions: []
116
116
  extra_rdoc_files: []
117
117
  files:
118
- - ".gitignore"
119
- - ".rspec"
118
+ - .gitignore
119
+ - .rspec
120
120
  - Gemfile
121
121
  - LICENSE.txt
122
122
  - README.md
@@ -147,17 +147,17 @@ require_paths:
147
147
  - lib
148
148
  required_ruby_version: !ruby/object:Gem::Requirement
149
149
  requirements:
150
- - - ">="
150
+ - - ! '>='
151
151
  - !ruby/object:Gem::Version
152
152
  version: '0'
153
153
  required_rubygems_version: !ruby/object:Gem::Requirement
154
154
  requirements:
155
- - - ">="
155
+ - - ! '>='
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
158
  requirements: []
159
159
  rubyforge_project:
160
- rubygems_version: 2.4.6
160
+ rubygems_version: 2.2.2
161
161
  signing_key:
162
162
  specification_version: 4
163
163
  summary: Lead push and retrival from you got leads