MailchimpMarketing 3.0.10 → 3.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (35) hide show
  1. checksums.yaml +4 -4
  2. data/MailchimpMarketing.gemspec +1 -1
  3. data/README.md +2 -2
  4. data/lib/MailchimpMarketing.rb +1 -1
  5. data/lib/MailchimpMarketing/api/activity_feed_api.rb +5 -5
  6. data/lib/MailchimpMarketing/api/authorized_apps_api.rb +7 -7
  7. data/lib/MailchimpMarketing/api/automations_api.rb +39 -39
  8. data/lib/MailchimpMarketing/api/batch_webhooks_api.rb +11 -11
  9. data/lib/MailchimpMarketing/api/batches_api.rb +9 -9
  10. data/lib/MailchimpMarketing/api/campaign_folders_api.rb +11 -11
  11. data/lib/MailchimpMarketing/api/campaigns_api.rb +45 -45
  12. data/lib/MailchimpMarketing/api/connected_sites_api.rb +11 -11
  13. data/lib/MailchimpMarketing/api/conversations_api.rb +11 -11
  14. data/lib/MailchimpMarketing/api/dashboard_api.rb +13 -13
  15. data/lib/MailchimpMarketing/api/ecommerce_api.rb +119 -119
  16. data/lib/MailchimpMarketing/api/external_auths_api.rb +7 -7
  17. data/lib/MailchimpMarketing/api/facebook_ads_api.rb +5 -5
  18. data/lib/MailchimpMarketing/api/file_manager_api.rb +23 -23
  19. data/lib/MailchimpMarketing/api/landing_pages_api.rb +17 -17
  20. data/lib/MailchimpMarketing/api/lists_api.rb +133 -133
  21. data/lib/MailchimpMarketing/api/ping_api.rb +3 -3
  22. data/lib/MailchimpMarketing/api/postcards_api.rb +3 -3
  23. data/lib/MailchimpMarketing/api/reporting_api.rb +13 -13
  24. data/lib/MailchimpMarketing/api/reports_api.rb +45 -45
  25. data/lib/MailchimpMarketing/api/root_api.rb +3 -3
  26. data/lib/MailchimpMarketing/api/search_campaigns_api.rb +3 -3
  27. data/lib/MailchimpMarketing/api/search_members_api.rb +3 -3
  28. data/lib/MailchimpMarketing/api/template_folders_api.rb +11 -11
  29. data/lib/MailchimpMarketing/api/templates_api.rb +13 -13
  30. data/lib/MailchimpMarketing/api/verified_domains_api.rb +11 -11
  31. data/lib/MailchimpMarketing/api_client.rb +9 -7
  32. data/lib/MailchimpMarketing/api_error.rb +1 -1
  33. data/lib/MailchimpMarketing/configuration.rb +1 -1
  34. data/lib/MailchimpMarketing/version.rb +2 -2
  35. metadata +1 -1
@@ -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.10
6
+ OpenAPI spec version: 3.0.11
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, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
31
+ data = @api_client.call_api(:DELETE, local_var_path,
32
32
  :query_params => query_params,
33
33
  :body => post_body)
34
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:GET, local_var_path,
49
+ data = @api_client.call_api(:GET, local_var_path,
50
50
  :query_params => query_params,
51
51
  :body => post_body)
52
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:GET, local_var_path,
65
+ data = @api_client.call_api(:GET, local_var_path,
66
66
  :query_params => query_params,
67
67
  :body => post_body)
68
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
80
+ data = @api_client.call_api(:PATCH, local_var_path,
81
81
  :query_params => query_params,
82
82
  :body => post_body)
83
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
94
+ data = @api_client.call_api(:POST, local_var_path,
95
95
  :query_params => query_params,
96
96
  :body => post_body)
97
- return data, status_code, headers
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.10
6
+ OpenAPI spec version: 3.0.11
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, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
31
+ data = @api_client.call_api(:DELETE, local_var_path,
32
32
  :query_params => query_params,
33
33
  :body => post_body)
34
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
46
+ data = @api_client.call_api(:DELETE, local_var_path,
47
47
  :query_params => query_params,
48
48
  :body => post_body)
49
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:GET, local_var_path,
79
+ data = @api_client.call_api(:GET, local_var_path,
80
80
  :query_params => query_params,
81
81
  :body => post_body)
82
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:GET, local_var_path,
95
+ data = @api_client.call_api(:GET, local_var_path,
96
96
  :query_params => query_params,
97
97
  :body => post_body)
98
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:GET, local_var_path,
111
+ data = @api_client.call_api(:GET, local_var_path,
112
112
  :query_params => query_params,
113
113
  :body => post_body)
114
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:GET, local_var_path,
127
+ data = @api_client.call_api(:GET, local_var_path,
128
128
  :query_params => query_params,
129
129
  :body => post_body)
130
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:GET, local_var_path,
144
+ data = @api_client.call_api(:GET, local_var_path,
145
145
  :query_params => query_params,
146
146
  :body => post_body)
147
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:GET, local_var_path,
160
+ data = @api_client.call_api(:GET, local_var_path,
161
161
  :query_params => query_params,
162
162
  :body => post_body)
163
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
175
+ data = @api_client.call_api(:PATCH, local_var_path,
176
176
  :query_params => query_params,
177
177
  :body => post_body)
178
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:PATCH, local_var_path,
191
+ data = @api_client.call_api(:PATCH, local_var_path,
192
192
  :query_params => query_params,
193
193
  :body => post_body)
194
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
205
+ data = @api_client.call_api(:POST, local_var_path,
206
206
  :query_params => query_params,
207
207
  :body => post_body)
208
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
219
+ data = @api_client.call_api(:POST, local_var_path,
220
220
  :query_params => query_params,
221
221
  :body => post_body)
222
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
233
+ data = @api_client.call_api(:POST, local_var_path,
234
234
  :query_params => query_params,
235
235
  :body => post_body)
236
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
247
+ data = @api_client.call_api(:POST, local_var_path,
248
248
  :query_params => query_params,
249
249
  :body => post_body)
250
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
261
+ data = @api_client.call_api(:POST, local_var_path,
262
262
  :query_params => query_params,
263
263
  :body => post_body)
264
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
275
+ data = @api_client.call_api(:POST, local_var_path,
276
276
  :query_params => query_params,
277
277
  :body => post_body)
278
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
290
+ data = @api_client.call_api(:POST, local_var_path,
291
291
  :query_params => query_params,
292
292
  :body => post_body)
293
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
304
+ data = @api_client.call_api(:POST, local_var_path,
305
305
  :query_params => query_params,
306
306
  :body => post_body)
307
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
319
+ data = @api_client.call_api(:POST, local_var_path,
320
320
  :query_params => query_params,
321
321
  :body => post_body)
322
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
333
+ data = @api_client.call_api(:POST, local_var_path,
334
334
  :query_params => query_params,
335
335
  :body => post_body)
336
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
348
+ data = @api_client.call_api(:POST, local_var_path,
349
349
  :query_params => query_params,
350
350
  :body => post_body)
351
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:PUT, local_var_path,
363
+ data = @api_client.call_api(:PUT, local_var_path,
364
364
  :query_params => query_params,
365
365
  :body => post_body)
366
- return data, status_code, headers
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.10
6
+ OpenAPI spec version: 3.0.11
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, status_code, headers = @api_client.call_api(:DELETE, local_var_path,
31
+ data = @api_client.call_api(:DELETE, local_var_path,
32
32
  :query_params => query_params,
33
33
  :body => post_body)
34
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:GET, local_var_path,
49
+ data = @api_client.call_api(:GET, local_var_path,
50
50
  :query_params => query_params,
51
51
  :body => post_body)
52
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:GET, local_var_path,
65
+ data = @api_client.call_api(:GET, local_var_path,
66
66
  :query_params => query_params,
67
67
  :body => post_body)
68
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
79
+ data = @api_client.call_api(:POST, local_var_path,
80
80
  :query_params => query_params,
81
81
  :body => post_body)
82
- return data, status_code, headers
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, status_code, headers = @api_client.call_api(:POST, local_var_path,
93
+ data = @api_client.call_api(:POST, local_var_path,
94
94
  :query_params => query_params,
95
95
  :body => post_body)
96
- return data, status_code, headers
96
+ return data
97
97
  end
98
98
  end
99
99
  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.10
6
+ OpenAPI spec version: 3.0.11
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
@@ -36,10 +36,10 @@ module MailchimpMarketing
36
36
  post_body = nil
37
37
 
38
38
  local_var_path = '/conversations'
39
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
39
+ data = @api_client.call_api(:GET, local_var_path,
40
40
  :query_params => query_params,
41
41
  :body => post_body)
42
- return data, status_code, headers
42
+ return data
43
43
  end
44
44
 
45
45
  # Get conversation
@@ -52,10 +52,10 @@ module MailchimpMarketing
52
52
  post_body = nil
53
53
 
54
54
  local_var_path = '/conversations/{conversation_id}'.sub('{' + 'conversation_id' + '}', conversation_id.to_s)
55
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
55
+ data = @api_client.call_api(:GET, local_var_path,
56
56
  :query_params => query_params,
57
57
  :body => post_body)
58
- return data, status_code, headers
58
+ return data
59
59
  end
60
60
 
61
61
  # List messages
@@ -72,10 +72,10 @@ module MailchimpMarketing
72
72
  post_body = nil
73
73
 
74
74
  local_var_path = '/conversations/{conversation_id}/messages'.sub('{' + 'conversation_id' + '}', conversation_id.to_s)
75
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
75
+ data = @api_client.call_api(:GET, local_var_path,
76
76
  :query_params => query_params,
77
77
  :body => post_body)
78
- return data, status_code, headers
78
+ return data
79
79
  end
80
80
 
81
81
  # Get message
@@ -89,10 +89,10 @@ module MailchimpMarketing
89
89
  post_body = nil
90
90
 
91
91
  local_var_path = '/conversations/{conversation_id}/messages/{message_id}'.sub('{' + 'conversation_id' + '}', conversation_id.to_s).sub('{' + 'message_id' + '}', message_id.to_s)
92
- data, status_code, headers = @api_client.call_api(:GET, local_var_path,
92
+ data = @api_client.call_api(:GET, local_var_path,
93
93
  :query_params => query_params,
94
94
  :body => post_body)
95
- return data, status_code, headers
95
+ return data
96
96
  end
97
97
 
98
98
  # Post message
@@ -104,10 +104,10 @@ module MailchimpMarketing
104
104
  post_body = @api_client.object_to_http_body(body)
105
105
 
106
106
  local_var_path = '/conversations/{conversation_id}/messages'.sub('{' + 'conversation_id' + '}', conversation_id.to_s)
107
- data, status_code, headers = @api_client.call_api(:POST, local_var_path,
107
+ data = @api_client.call_api(:POST, local_var_path,
108
108
  :query_params => query_params,
109
109
  :body => post_body)
110
- return data, status_code, headers
110
+ return data
111
111
  end
112
112
  end
113
113
  end