g5_reps_client 0.0.4 → 0.0.5.pre
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NzY3NmViYjY1ODIyYmZhYjgwMDAyOGNmNmE3ZTcyMzZmM2E1NGRkMg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 31ff5cbb0e3b3313cac252bb500a0dd9b666bd89
|
4
|
+
data.tar.gz: 2dc36888c09146dceeca386a9b25ef3e4afae042
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
OTg3MzNmNWYyNzk1MDM2N2QyNzNjYzJiNmYzODEyZmU0NzM5OWQ1ODRmYjc0
|
11
|
-
MTQyNDU0ZjU1ZTgyZDI2ZDBhYWEyOWVkNDdkYmQwZDc5NGFhZTM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
M2JhMWFlZTY4YmU0NjhlMzY2NTM4ZTdmMTYwNWI3OGM3MTkwNmNmZGMzODM2
|
14
|
-
ZGE0ZjQxZTQzNGU5NWU1MDE0ZWRkYjQyODI1MTI3NDk4MDI0MzVjYzQ3MGQ2
|
15
|
-
YjQyZjkxYmUzZWQwYTJkZDRmZjYzYjEzMDliNTBkYTQ0MTA2NjU=
|
6
|
+
metadata.gz: ad0cc5d6db73ca71059fbca4c3b414e087fb1e2f47f861db34bd06f7fd42fd116216d9c967de32d7b259f910d513a5c69c1c9ad3a53ee03fdabb263a25cbef3c
|
7
|
+
data.tar.gz: f106a9aa0598a059cdee9209923fe71a2919471b18d7ae2bfe5086d5e756478bdeb1d7dd01dd67c4f6c4d87c6964d06f4645bbc542cc332ae8d74c37c6d2a696
|
@@ -5,7 +5,7 @@ module G5RepsClient
|
|
5
5
|
message = { enterprise_key: "#{enterprise_key}",
|
6
6
|
community_id: "#{community_id}",
|
7
7
|
new_contact: camelcase_keys(lead),
|
8
|
-
new_prospect:
|
8
|
+
new_prospect: [{}]
|
9
9
|
}
|
10
10
|
|
11
11
|
SavonAdapter.call(:save_lead, message, wsdl)
|
@@ -20,10 +20,6 @@ module G5RepsClient
|
|
20
20
|
converted_lead
|
21
21
|
end
|
22
22
|
|
23
|
-
def self.create_prospect(lead)
|
24
|
-
lead.except(:relationship_to_prospect_id, :source_id)
|
25
|
-
end
|
26
|
-
|
27
23
|
end
|
28
24
|
|
29
25
|
end
|
@@ -36,16 +36,7 @@ module G5RepsClient
|
|
36
36
|
"Email" => "G5Test@test.com",
|
37
37
|
"RelationshipToProspectId" => "2",
|
38
38
|
"SourceId" => "77"}],
|
39
|
-
new_prospect: [{
|
40
|
-
"FirstName" => "G5Test",
|
41
|
-
"LastName" => "Testing",
|
42
|
-
"Suffix" => "Jr.",
|
43
|
-
"Address1" => "22 Test Drive",
|
44
|
-
"City" => "Bend",
|
45
|
-
"State" => "OR",
|
46
|
-
"ZipCode" => "97702",
|
47
|
-
"Phone" => "5413334444",
|
48
|
-
"Email" => "G5Test@test.com"}]},
|
39
|
+
new_prospect: [{}]},
|
49
40
|
"http://test.com?wsdl")
|
50
41
|
|
51
42
|
|
@@ -70,20 +61,5 @@ module G5RepsClient
|
|
70
61
|
end
|
71
62
|
end
|
72
63
|
|
73
|
-
describe 'create_prospect' do
|
74
|
-
it "removes key value pairs from the hash" do
|
75
|
-
SaveLeadRequest.create_prospect(lead).should eq({prefix: "Mr.",
|
76
|
-
first_name: "G5Test",
|
77
|
-
last_name: "Testing",
|
78
|
-
suffix: "Jr.",
|
79
|
-
address1: "22 Test Drive",
|
80
|
-
city: "Bend",
|
81
|
-
state: "OR",
|
82
|
-
zip_code: "97702",
|
83
|
-
phone: "5413334444",
|
84
|
-
email: "G5Test@test.com"})
|
85
|
-
end
|
86
|
-
end
|
87
|
-
|
88
64
|
end
|
89
65
|
end
|
metadata
CHANGED
@@ -1,111 +1,111 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: g5_reps_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Bishop
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2017-06-22 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: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- - ~>
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.7'
|
48
48
|
type: :development
|
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: '1.7'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: rake
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- - ~>
|
59
|
+
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '10.0'
|
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: '10.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: savon
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- - ~>
|
73
|
+
- - "~>"
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '2.0'
|
76
76
|
type: :runtime
|
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: '2.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
|
@@ -144,17 +144,17 @@ require_paths:
|
|
144
144
|
- lib
|
145
145
|
required_ruby_version: !ruby/object:Gem::Requirement
|
146
146
|
requirements:
|
147
|
-
- -
|
147
|
+
- - ">="
|
148
148
|
- !ruby/object:Gem::Version
|
149
149
|
version: '0'
|
150
150
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
|
-
- -
|
152
|
+
- - ">"
|
153
153
|
- !ruby/object:Gem::Version
|
154
|
-
version:
|
154
|
+
version: 1.3.1
|
155
155
|
requirements: []
|
156
156
|
rubyforge_project:
|
157
|
-
rubygems_version: 2.
|
157
|
+
rubygems_version: 2.6.8
|
158
158
|
signing_key:
|
159
159
|
specification_version: 4
|
160
160
|
summary: Connect to reps
|