MailchimpMarketing 3.0.9 → 3.0.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +53 -0
- data/MailchimpMarketing.gemspec +1 -1
- data/README.md +2 -2
- data/lib/MailchimpMarketing.rb +1 -1
- data/lib/MailchimpMarketing/api/activity_feed_api.rb +5 -5
- data/lib/MailchimpMarketing/api/authorized_apps_api.rb +7 -7
- data/lib/MailchimpMarketing/api/automations_api.rb +39 -39
- data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +11 -11
- data/lib/MailchimpMarketing/api/batches_api.rb +9 -9
- data/lib/MailchimpMarketing/api/campaign_folders_api.rb +11 -11
- data/lib/MailchimpMarketing/api/campaigns_api.rb +45 -45
- data/lib/MailchimpMarketing/api/connected_sites_api.rb +11 -11
- data/lib/MailchimpMarketing/api/conversations_api.rb +11 -11
- data/lib/MailchimpMarketing/api/dashboard_api.rb +13 -13
- data/lib/MailchimpMarketing/api/ecommerce_api.rb +119 -119
- data/lib/MailchimpMarketing/api/external_auths_api.rb +7 -7
- data/lib/MailchimpMarketing/api/facebook_ads_api.rb +5 -5
- data/lib/MailchimpMarketing/api/file_manager_api.rb +23 -23
- data/lib/MailchimpMarketing/api/landing_pages_api.rb +17 -17
- data/lib/MailchimpMarketing/api/lists_api.rb +136 -135
- data/lib/MailchimpMarketing/api/ping_api.rb +3 -3
- data/lib/MailchimpMarketing/api/postcards_api.rb +3 -3
- data/lib/MailchimpMarketing/api/reporting_api.rb +13 -13
- data/lib/MailchimpMarketing/api/reports_api.rb +45 -45
- data/lib/MailchimpMarketing/api/root_api.rb +3 -3
- data/lib/MailchimpMarketing/api/search_campaigns_api.rb +3 -3
- data/lib/MailchimpMarketing/api/search_members_api.rb +3 -3
- data/lib/MailchimpMarketing/api/template_folders_api.rb +11 -11
- data/lib/MailchimpMarketing/api/templates_api.rb +13 -13
- data/lib/MailchimpMarketing/api/verified_domains_api.rb +11 -11
- data/lib/MailchimpMarketing/api_client.rb +10 -8
- data/lib/MailchimpMarketing/api_error.rb +1 -1
- data/lib/MailchimpMarketing/configuration.rb +1 -1
- data/lib/MailchimpMarketing/version.rb +2 -2
- metadata +3 -2
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.14
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -28,10 +28,10 @@ module MailchimpMarketing
|
|
28
28
|
post_body = nil
|
29
29
|
|
30
30
|
local_var_path = '/batches/{batch_id}'.sub('{' + 'batch_id' + '}', batch_id.to_s)
|
31
|
-
data
|
31
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
32
32
|
:query_params => query_params,
|
33
33
|
:body => post_body)
|
34
|
-
return data
|
34
|
+
return data
|
35
35
|
end
|
36
36
|
|
37
37
|
# List batch requests
|
@@ -46,10 +46,10 @@ module MailchimpMarketing
|
|
46
46
|
post_body = nil
|
47
47
|
|
48
48
|
local_var_path = '/batches'
|
49
|
-
data
|
49
|
+
data = @api_client.call_api(:GET, local_var_path,
|
50
50
|
:query_params => query_params,
|
51
51
|
:body => post_body)
|
52
|
-
return data
|
52
|
+
return data
|
53
53
|
end
|
54
54
|
|
55
55
|
# Get batch operation status
|
@@ -62,10 +62,10 @@ module MailchimpMarketing
|
|
62
62
|
post_body = nil
|
63
63
|
|
64
64
|
local_var_path = '/batches/{batch_id}'.sub('{' + 'batch_id' + '}', batch_id.to_s)
|
65
|
-
data
|
65
|
+
data = @api_client.call_api(:GET, local_var_path,
|
66
66
|
:query_params => query_params,
|
67
67
|
:body => post_body)
|
68
|
-
return data
|
68
|
+
return data
|
69
69
|
end
|
70
70
|
|
71
71
|
# Start batch operation
|
@@ -76,10 +76,10 @@ module MailchimpMarketing
|
|
76
76
|
post_body = @api_client.object_to_http_body(body)
|
77
77
|
|
78
78
|
local_var_path = '/batches'
|
79
|
-
data
|
79
|
+
data = @api_client.call_api(:POST, local_var_path,
|
80
80
|
:query_params => query_params,
|
81
81
|
:body => post_body)
|
82
|
-
return data
|
82
|
+
return data
|
83
83
|
end
|
84
84
|
end
|
85
85
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.14
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -28,10 +28,10 @@ module MailchimpMarketing
|
|
28
28
|
post_body = nil
|
29
29
|
|
30
30
|
local_var_path = '/campaign-folders/{folder_id}'.sub('{' + 'folder_id' + '}', folder_id.to_s)
|
31
|
-
data
|
31
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
32
32
|
:query_params => query_params,
|
33
33
|
:body => post_body)
|
34
|
-
return data
|
34
|
+
return data
|
35
35
|
end
|
36
36
|
|
37
37
|
# List campaign folders
|
@@ -46,10 +46,10 @@ module MailchimpMarketing
|
|
46
46
|
post_body = nil
|
47
47
|
|
48
48
|
local_var_path = '/campaign-folders'
|
49
|
-
data
|
49
|
+
data = @api_client.call_api(:GET, local_var_path,
|
50
50
|
:query_params => query_params,
|
51
51
|
:body => post_body)
|
52
|
-
return data
|
52
|
+
return data
|
53
53
|
end
|
54
54
|
|
55
55
|
# Get campaign folder
|
@@ -62,10 +62,10 @@ module MailchimpMarketing
|
|
62
62
|
post_body = nil
|
63
63
|
|
64
64
|
local_var_path = '/campaign-folders/{folder_id}'.sub('{' + 'folder_id' + '}', folder_id.to_s)
|
65
|
-
data
|
65
|
+
data = @api_client.call_api(:GET, local_var_path,
|
66
66
|
:query_params => query_params,
|
67
67
|
:body => post_body)
|
68
|
-
return data
|
68
|
+
return data
|
69
69
|
end
|
70
70
|
|
71
71
|
# Update campaign folder
|
@@ -77,10 +77,10 @@ module MailchimpMarketing
|
|
77
77
|
post_body = @api_client.object_to_http_body(body)
|
78
78
|
|
79
79
|
local_var_path = '/campaign-folders/{folder_id}'.sub('{' + 'folder_id' + '}', folder_id.to_s)
|
80
|
-
data
|
80
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
81
81
|
:query_params => query_params,
|
82
82
|
:body => post_body)
|
83
|
-
return data
|
83
|
+
return data
|
84
84
|
end
|
85
85
|
|
86
86
|
# Add campaign folder
|
@@ -91,10 +91,10 @@ module MailchimpMarketing
|
|
91
91
|
post_body = @api_client.object_to_http_body(body)
|
92
92
|
|
93
93
|
local_var_path = '/campaign-folders'
|
94
|
-
data
|
94
|
+
data = @api_client.call_api(:POST, local_var_path,
|
95
95
|
:query_params => query_params,
|
96
96
|
:body => post_body)
|
97
|
-
return data
|
97
|
+
return data
|
98
98
|
end
|
99
99
|
end
|
100
100
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.14
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -28,10 +28,10 @@ module MailchimpMarketing
|
|
28
28
|
post_body = nil
|
29
29
|
|
30
30
|
local_var_path = '/campaigns/{campaign_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
31
|
-
data
|
31
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
32
32
|
:query_params => query_params,
|
33
33
|
:body => post_body)
|
34
|
-
return data
|
34
|
+
return data
|
35
35
|
end
|
36
36
|
|
37
37
|
# Delete campaign feedback message
|
@@ -43,10 +43,10 @@ module MailchimpMarketing
|
|
43
43
|
post_body = nil
|
44
44
|
|
45
45
|
local_var_path = '/campaigns/{campaign_id}/feedback/{feedback_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'feedback_id' + '}', feedback_id.to_s)
|
46
|
-
data
|
46
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
47
47
|
:query_params => query_params,
|
48
48
|
:body => post_body)
|
49
|
-
return data
|
49
|
+
return data
|
50
50
|
end
|
51
51
|
|
52
52
|
# List campaigns
|
@@ -76,10 +76,10 @@ module MailchimpMarketing
|
|
76
76
|
post_body = nil
|
77
77
|
|
78
78
|
local_var_path = '/campaigns'
|
79
|
-
data
|
79
|
+
data = @api_client.call_api(:GET, local_var_path,
|
80
80
|
:query_params => query_params,
|
81
81
|
:body => post_body)
|
82
|
-
return data
|
82
|
+
return data
|
83
83
|
end
|
84
84
|
|
85
85
|
# Get campaign info
|
@@ -92,10 +92,10 @@ module MailchimpMarketing
|
|
92
92
|
post_body = nil
|
93
93
|
|
94
94
|
local_var_path = '/campaigns/{campaign_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
95
|
-
data
|
95
|
+
data = @api_client.call_api(:GET, local_var_path,
|
96
96
|
:query_params => query_params,
|
97
97
|
:body => post_body)
|
98
|
-
return data
|
98
|
+
return data
|
99
99
|
end
|
100
100
|
|
101
101
|
# Get campaign content
|
@@ -108,10 +108,10 @@ module MailchimpMarketing
|
|
108
108
|
post_body = nil
|
109
109
|
|
110
110
|
local_var_path = '/campaigns/{campaign_id}/content'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
111
|
-
data
|
111
|
+
data = @api_client.call_api(:GET, local_var_path,
|
112
112
|
:query_params => query_params,
|
113
113
|
:body => post_body)
|
114
|
-
return data
|
114
|
+
return data
|
115
115
|
end
|
116
116
|
|
117
117
|
# List campaign feedback
|
@@ -124,10 +124,10 @@ module MailchimpMarketing
|
|
124
124
|
post_body = nil
|
125
125
|
|
126
126
|
local_var_path = '/campaigns/{campaign_id}/feedback'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
127
|
-
data
|
127
|
+
data = @api_client.call_api(:GET, local_var_path,
|
128
128
|
:query_params => query_params,
|
129
129
|
:body => post_body)
|
130
|
-
return data
|
130
|
+
return data
|
131
131
|
end
|
132
132
|
|
133
133
|
# Get campaign feedback message
|
@@ -141,10 +141,10 @@ module MailchimpMarketing
|
|
141
141
|
post_body = nil
|
142
142
|
|
143
143
|
local_var_path = '/campaigns/{campaign_id}/feedback/{feedback_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'feedback_id' + '}', feedback_id.to_s)
|
144
|
-
data
|
144
|
+
data = @api_client.call_api(:GET, local_var_path,
|
145
145
|
:query_params => query_params,
|
146
146
|
:body => post_body)
|
147
|
-
return data
|
147
|
+
return data
|
148
148
|
end
|
149
149
|
|
150
150
|
# Get campaign send checklist
|
@@ -157,10 +157,10 @@ module MailchimpMarketing
|
|
157
157
|
post_body = nil
|
158
158
|
|
159
159
|
local_var_path = '/campaigns/{campaign_id}/send-checklist'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
160
|
-
data
|
160
|
+
data = @api_client.call_api(:GET, local_var_path,
|
161
161
|
:query_params => query_params,
|
162
162
|
:body => post_body)
|
163
|
-
return data
|
163
|
+
return data
|
164
164
|
end
|
165
165
|
|
166
166
|
# Update campaign settings
|
@@ -172,10 +172,10 @@ module MailchimpMarketing
|
|
172
172
|
post_body = @api_client.object_to_http_body(body)
|
173
173
|
|
174
174
|
local_var_path = '/campaigns/{campaign_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
175
|
-
data
|
175
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
176
176
|
:query_params => query_params,
|
177
177
|
:body => post_body)
|
178
|
-
return data
|
178
|
+
return data
|
179
179
|
end
|
180
180
|
|
181
181
|
# Update campaign feedback message
|
@@ -188,10 +188,10 @@ module MailchimpMarketing
|
|
188
188
|
post_body = @api_client.object_to_http_body(body)
|
189
189
|
|
190
190
|
local_var_path = '/campaigns/{campaign_id}/feedback/{feedback_id}'.sub('{' + 'campaign_id' + '}', campaign_id.to_s).sub('{' + 'feedback_id' + '}', feedback_id.to_s)
|
191
|
-
data
|
191
|
+
data = @api_client.call_api(:PATCH, local_var_path,
|
192
192
|
:query_params => query_params,
|
193
193
|
:body => post_body)
|
194
|
-
return data
|
194
|
+
return data
|
195
195
|
end
|
196
196
|
|
197
197
|
# Add campaign
|
@@ -202,10 +202,10 @@ module MailchimpMarketing
|
|
202
202
|
post_body = @api_client.object_to_http_body(body)
|
203
203
|
|
204
204
|
local_var_path = '/campaigns'
|
205
|
-
data
|
205
|
+
data = @api_client.call_api(:POST, local_var_path,
|
206
206
|
:query_params => query_params,
|
207
207
|
:body => post_body)
|
208
|
-
return data
|
208
|
+
return data
|
209
209
|
end
|
210
210
|
|
211
211
|
# Cancel campaign
|
@@ -216,10 +216,10 @@ module MailchimpMarketing
|
|
216
216
|
post_body = nil
|
217
217
|
|
218
218
|
local_var_path = '/campaigns/{campaign_id}/actions/cancel-send'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
219
|
-
data
|
219
|
+
data = @api_client.call_api(:POST, local_var_path,
|
220
220
|
:query_params => query_params,
|
221
221
|
:body => post_body)
|
222
|
-
return data
|
222
|
+
return data
|
223
223
|
end
|
224
224
|
|
225
225
|
# Resend campaign
|
@@ -230,10 +230,10 @@ module MailchimpMarketing
|
|
230
230
|
post_body = nil
|
231
231
|
|
232
232
|
local_var_path = '/campaigns/{campaign_id}/actions/create-resend'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
233
|
-
data
|
233
|
+
data = @api_client.call_api(:POST, local_var_path,
|
234
234
|
:query_params => query_params,
|
235
235
|
:body => post_body)
|
236
|
-
return data
|
236
|
+
return data
|
237
237
|
end
|
238
238
|
|
239
239
|
# Pause rss campaign
|
@@ -244,10 +244,10 @@ module MailchimpMarketing
|
|
244
244
|
post_body = nil
|
245
245
|
|
246
246
|
local_var_path = '/campaigns/{campaign_id}/actions/pause'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
247
|
-
data
|
247
|
+
data = @api_client.call_api(:POST, local_var_path,
|
248
248
|
:query_params => query_params,
|
249
249
|
:body => post_body)
|
250
|
-
return data
|
250
|
+
return data
|
251
251
|
end
|
252
252
|
|
253
253
|
# Replicate campaign
|
@@ -258,10 +258,10 @@ module MailchimpMarketing
|
|
258
258
|
post_body = nil
|
259
259
|
|
260
260
|
local_var_path = '/campaigns/{campaign_id}/actions/replicate'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
261
|
-
data
|
261
|
+
data = @api_client.call_api(:POST, local_var_path,
|
262
262
|
:query_params => query_params,
|
263
263
|
:body => post_body)
|
264
|
-
return data
|
264
|
+
return data
|
265
265
|
end
|
266
266
|
|
267
267
|
# Resume rss campaign
|
@@ -272,10 +272,10 @@ module MailchimpMarketing
|
|
272
272
|
post_body = nil
|
273
273
|
|
274
274
|
local_var_path = '/campaigns/{campaign_id}/actions/resume'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
275
|
-
data
|
275
|
+
data = @api_client.call_api(:POST, local_var_path,
|
276
276
|
:query_params => query_params,
|
277
277
|
:body => post_body)
|
278
|
-
return data
|
278
|
+
return data
|
279
279
|
end
|
280
280
|
|
281
281
|
# Schedule campaign
|
@@ -287,10 +287,10 @@ module MailchimpMarketing
|
|
287
287
|
post_body = @api_client.object_to_http_body(body)
|
288
288
|
|
289
289
|
local_var_path = '/campaigns/{campaign_id}/actions/schedule'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
290
|
-
data
|
290
|
+
data = @api_client.call_api(:POST, local_var_path,
|
291
291
|
:query_params => query_params,
|
292
292
|
:body => post_body)
|
293
|
-
return data
|
293
|
+
return data
|
294
294
|
end
|
295
295
|
|
296
296
|
# Send campaign
|
@@ -301,10 +301,10 @@ module MailchimpMarketing
|
|
301
301
|
post_body = nil
|
302
302
|
|
303
303
|
local_var_path = '/campaigns/{campaign_id}/actions/send'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
304
|
-
data
|
304
|
+
data = @api_client.call_api(:POST, local_var_path,
|
305
305
|
:query_params => query_params,
|
306
306
|
:body => post_body)
|
307
|
-
return data
|
307
|
+
return data
|
308
308
|
end
|
309
309
|
|
310
310
|
# Send test email
|
@@ -316,10 +316,10 @@ module MailchimpMarketing
|
|
316
316
|
post_body = @api_client.object_to_http_body(body)
|
317
317
|
|
318
318
|
local_var_path = '/campaigns/{campaign_id}/actions/test'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
319
|
-
data
|
319
|
+
data = @api_client.call_api(:POST, local_var_path,
|
320
320
|
:query_params => query_params,
|
321
321
|
:body => post_body)
|
322
|
-
return data
|
322
|
+
return data
|
323
323
|
end
|
324
324
|
|
325
325
|
# Unschedule campaign
|
@@ -330,10 +330,10 @@ module MailchimpMarketing
|
|
330
330
|
post_body = nil
|
331
331
|
|
332
332
|
local_var_path = '/campaigns/{campaign_id}/actions/unschedule'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
333
|
-
data
|
333
|
+
data = @api_client.call_api(:POST, local_var_path,
|
334
334
|
:query_params => query_params,
|
335
335
|
:body => post_body)
|
336
|
-
return data
|
336
|
+
return data
|
337
337
|
end
|
338
338
|
|
339
339
|
# Add campaign feedback
|
@@ -345,10 +345,10 @@ module MailchimpMarketing
|
|
345
345
|
post_body = @api_client.object_to_http_body(body)
|
346
346
|
|
347
347
|
local_var_path = '/campaigns/{campaign_id}/feedback'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
348
|
-
data
|
348
|
+
data = @api_client.call_api(:POST, local_var_path,
|
349
349
|
:query_params => query_params,
|
350
350
|
:body => post_body)
|
351
|
-
return data
|
351
|
+
return data
|
352
352
|
end
|
353
353
|
|
354
354
|
# Set campaign content
|
@@ -360,10 +360,10 @@ module MailchimpMarketing
|
|
360
360
|
post_body = @api_client.object_to_http_body(body)
|
361
361
|
|
362
362
|
local_var_path = '/campaigns/{campaign_id}/content'.sub('{' + 'campaign_id' + '}', campaign_id.to_s)
|
363
|
-
data
|
363
|
+
data = @api_client.call_api(:PUT, local_var_path,
|
364
364
|
:query_params => query_params,
|
365
365
|
:body => post_body)
|
366
|
-
return data
|
366
|
+
return data
|
367
367
|
end
|
368
368
|
end
|
369
369
|
end
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
5
|
|
6
|
-
OpenAPI spec version: 3.0.
|
6
|
+
OpenAPI spec version: 3.0.14
|
7
7
|
Contact: apihelp@mailchimp.com
|
8
8
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
9
|
Swagger Codegen version: 2.4.12
|
@@ -28,10 +28,10 @@ module MailchimpMarketing
|
|
28
28
|
post_body = nil
|
29
29
|
|
30
30
|
local_var_path = '/connected-sites/{connected_site_id}'.sub('{' + 'connected_site_id' + '}', connected_site_id.to_s)
|
31
|
-
data
|
31
|
+
data = @api_client.call_api(:DELETE, local_var_path,
|
32
32
|
:query_params => query_params,
|
33
33
|
:body => post_body)
|
34
|
-
return data
|
34
|
+
return data
|
35
35
|
end
|
36
36
|
|
37
37
|
# List connected sites
|
@@ -46,10 +46,10 @@ module MailchimpMarketing
|
|
46
46
|
post_body = nil
|
47
47
|
|
48
48
|
local_var_path = '/connected-sites'
|
49
|
-
data
|
49
|
+
data = @api_client.call_api(:GET, local_var_path,
|
50
50
|
:query_params => query_params,
|
51
51
|
:body => post_body)
|
52
|
-
return data
|
52
|
+
return data
|
53
53
|
end
|
54
54
|
|
55
55
|
# Get connected site
|
@@ -62,10 +62,10 @@ module MailchimpMarketing
|
|
62
62
|
post_body = nil
|
63
63
|
|
64
64
|
local_var_path = '/connected-sites/{connected_site_id}'.sub('{' + 'connected_site_id' + '}', connected_site_id.to_s)
|
65
|
-
data
|
65
|
+
data = @api_client.call_api(:GET, local_var_path,
|
66
66
|
:query_params => query_params,
|
67
67
|
:body => post_body)
|
68
|
-
return data
|
68
|
+
return data
|
69
69
|
end
|
70
70
|
|
71
71
|
# Add connected site
|
@@ -76,10 +76,10 @@ module MailchimpMarketing
|
|
76
76
|
post_body = @api_client.object_to_http_body(body)
|
77
77
|
|
78
78
|
local_var_path = '/connected-sites'
|
79
|
-
data
|
79
|
+
data = @api_client.call_api(:POST, local_var_path,
|
80
80
|
:query_params => query_params,
|
81
81
|
:body => post_body)
|
82
|
-
return data
|
82
|
+
return data
|
83
83
|
end
|
84
84
|
|
85
85
|
# Verify connected site script
|
@@ -90,10 +90,10 @@ module MailchimpMarketing
|
|
90
90
|
post_body = nil
|
91
91
|
|
92
92
|
local_var_path = '/connected-sites/{connected_site_id}/actions/verify-script-installation'.sub('{' + 'connected_site_id' + '}', connected_site_id.to_s)
|
93
|
-
data
|
93
|
+
data = @api_client.call_api(:POST, local_var_path,
|
94
94
|
:query_params => query_params,
|
95
95
|
:body => post_body)
|
96
|
-
return data
|
96
|
+
return data
|
97
97
|
end
|
98
98
|
end
|
99
99
|
end
|