njones-marketo 1.2.5 → 1.2.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/marketo/client.rb +4 -6
- metadata +3 -3
data/lib/marketo/client.rb
CHANGED
@@ -123,16 +123,14 @@ module Rapleaf
|
|
123
123
|
attributes << {:attr_name => name, :attr_type => 'string', :attr_value => value}
|
124
124
|
end
|
125
125
|
|
126
|
-
send_records << {
|
127
|
-
|
128
|
-
|
129
|
-
{ :attribute => attributes }
|
130
|
-
}
|
126
|
+
send_records << {
|
127
|
+
"Email" => lead_record.email,
|
128
|
+
:lead_attribute_list => { :attribute => attributes }
|
131
129
|
}
|
132
130
|
end
|
133
131
|
|
134
132
|
response = send_request("ns1:paramsSyncMultipleLeads", {
|
135
|
-
:lead_record_list => send_records }) # an array of lead records
|
133
|
+
:lead_record_list => { :lead_record => send_records }}) # an array of lead records
|
136
134
|
|
137
135
|
return response
|
138
136
|
rescue Exception => e
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 1
|
7
7
|
- 2
|
8
|
-
-
|
9
|
-
version: 1.2.
|
8
|
+
- 6
|
9
|
+
version: 1.2.6
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- James O'Brien (orginal author)
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2012-05-11 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|