mailchimp_api_v3 0.2.17 → 0.2.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +7 -0
  3. data/.travis.yml +9 -2
  4. data/Gemfile +5 -1
  5. data/Guardfile +1 -0
  6. data/README.md +1 -1
  7. data/Rakefile +9 -0
  8. data/lib/mailchimp_api_v3.rb +9 -0
  9. data/lib/mailchimp_api_v3/account.rb +1 -0
  10. data/lib/mailchimp_api_v3/client.rb +2 -7
  11. data/lib/mailchimp_api_v3/client/remote.rb +1 -0
  12. data/lib/mailchimp_api_v3/collection.rb +1 -0
  13. data/lib/mailchimp_api_v3/collection/paging.rb +1 -0
  14. data/lib/mailchimp_api_v3/exception.rb +1 -0
  15. data/lib/mailchimp_api_v3/instance.rb +1 -0
  16. data/lib/mailchimp_api_v3/interest.rb +1 -0
  17. data/lib/mailchimp_api_v3/interest_category.rb +1 -0
  18. data/lib/mailchimp_api_v3/list.rb +1 -0
  19. data/lib/mailchimp_api_v3/member.rb +1 -0
  20. data/lib/mailchimp_api_v3/version.rb +2 -1
  21. data/mailchimp_api_v3.gemspec +3 -2
  22. metadata +14 -73
  23. data/spec/fixtures/cassettes/account.yml +0 -96
  24. data/spec/fixtures/cassettes/client.yml +0 -301
  25. data/spec/fixtures/cassettes/exception.yml +0 -189
  26. data/spec/fixtures/cassettes/interest.yml +0 -431
  27. data/spec/fixtures/cassettes/interest_categories.yml +0 -660
  28. data/spec/fixtures/cassettes/interest_category.yml +0 -436
  29. data/spec/fixtures/cassettes/interests.yml +0 -799
  30. data/spec/fixtures/cassettes/list.yml +0 -246
  31. data/spec/fixtures/cassettes/lists.yml +0 -158
  32. data/spec/fixtures/cassettes/mailchimp.yml +0 -96
  33. data/spec/fixtures/cassettes/member.yml +0 -298
  34. data/spec/fixtures/cassettes/members.yml +0 -808
  35. data/spec/fixtures/cassettes/members_create_or_update.yml +0 -817
  36. data/spec/fixtures/cassettes/members_paging.yml +0 -264
  37. data/spec/fixtures/cassettes/members_with_interest_categories.yml +0 -902
  38. data/spec/mailchimp_api_v3/account_spec.rb +0 -15
  39. data/spec/mailchimp_api_v3/client_spec.rb +0 -77
  40. data/spec/mailchimp_api_v3/exception_spec.rb +0 -55
  41. data/spec/mailchimp_api_v3/interest_categories_spec.rb +0 -41
  42. data/spec/mailchimp_api_v3/interest_category_spec.rb +0 -25
  43. data/spec/mailchimp_api_v3/interest_spec.rb +0 -23
  44. data/spec/mailchimp_api_v3/interests_spec.rb +0 -43
  45. data/spec/mailchimp_api_v3/list_spec.rb +0 -65
  46. data/spec/mailchimp_api_v3/lists_spec.rb +0 -21
  47. data/spec/mailchimp_api_v3/member_spec.rb +0 -58
  48. data/spec/mailchimp_api_v3/members_spec.rb +0 -132
  49. data/spec/mailchimp_spec.rb +0 -14
  50. data/spec/spec_helper.rb +0 -24
  51. data/spec/support/api_key.rb +0 -12
  52. data/spec/support/vcr_setup.rb +0 -17
@@ -1,436 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists?count=500&exclude_fields=lists._links,_links&offset=0
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - "*/*; q=0.5, application/xml"
12
- Accept-Encoding:
13
- - gzip, deflate
14
- User-Agent:
15
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
16
- Authorization:
17
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
18
- Host:
19
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Server:
26
- - nginx
27
- Content-Type:
28
- - application/json; charset=utf-8
29
- Content-Length:
30
- - '4704'
31
- X-Request-Id:
32
- - 25523bef-618e-4f96-8d1f-21288f68e2b1
33
- Link:
34
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Collection.json>; rel="describedBy"
35
- Vary:
36
- - Accept-Encoding
37
- Date:
38
- - Thu, 04 Aug 2016 15:10:19 GMT
39
- Connection:
40
- - keep-alive
41
- Set-Cookie:
42
- - _AVESTA_ENVIRONMENT=prod; path=/
43
- body:
44
- encoding: ASCII-8BIT
45
- string: '{"lists":[{"id":"e73f5910ca","name":"My first list","contact":{"company":"InSite
46
- Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"","zip":"E14
47
- 7DQ","country":"GB","phone":"07917153555"},"permission_reminder":"Opt-in only","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
48
- Sayers","from_email":"sam@sayers.cc","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-06-27T14:49:18+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/brGTO9","subscribe_url_long":"http://insitearts.us11.list-manage1.com/subscribe?u=1dbca289fd41b54838bcbb501&id=e73f5910ca","beamer_address":"us11-6692a2b3c3-bcd2a8b144@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":3,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":3,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2016-08-04T14:56:19+00:00","last_unsub_date":""}},{"id":"71937ea346","name":"My
49
- second list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
50
- One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"Test
51
- list for Xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
52
- Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-09T10:17:28+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bsNMtP","subscribe_url_long":"http://insitearts.us11.list-manage1.com/subscribe?u=1dbca289fd41b54838bcbb501&id=71937ea346","beamer_address":"us11-6692a2b3c3-e843e438a6@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":1,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-09T13:32:01+00:00","last_unsub_date":""}},{"id":"3f19e5d463","name":"My
53
- third list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
54
- One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"For
55
- xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
56
- Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-12T16:45:11+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bs3cI1","subscribe_url_long":"http://insitearts.us11.list-manage2.com/subscribe?u=1dbca289fd41b54838bcbb501&id=3f19e5d463","beamer_address":"us11-6692a2b3c3-8e485f6d99@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":4,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-14T11:28:57+00:00","last_unsub_date":""}},{"id":"a4598b5a35","name":"API
57
- test list","contact":{"company":"administrator@xenapto.com","address1":"300
58
- Burdett Road","address2":"London","city":"London","state":"","zip":"E14 7DQ","country":"GB","phone":""},"permission_reminder":"You
59
- are test data for our API","use_archive_bar":true,"campaign_defaults":{"from_name":"Administrator","from_email":"administrator@xenapto.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2016-08-04T14:34:58+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/cauBmn","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=a4598b5a35","beamer_address":"us11-6692a2b3c3-3353aeaf0d@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":19,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":7,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-11-03T14:19:51+00:00","last_unsub_date":""}}],"total_items":4}'
60
- http_version:
61
- recorded_at: Thu, 04 Aug 2016 15:10:19 GMT
62
- - request:
63
- method: get
64
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories?count=500&exclude_fields=categories._links,_links&offset=0
65
- body:
66
- encoding: US-ASCII
67
- string: ''
68
- headers:
69
- Accept:
70
- - "*/*; q=0.5, application/xml"
71
- Accept-Encoding:
72
- - gzip, deflate
73
- User-Agent:
74
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
75
- Authorization:
76
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
77
- Host:
78
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
79
- response:
80
- status:
81
- code: 200
82
- message: OK
83
- headers:
84
- Server:
85
- - nginx
86
- Content-Type:
87
- - application/json; charset=utf-8
88
- Content-Length:
89
- - '241'
90
- X-Request-Id:
91
- - e128e4d4-b84a-4c4e-baa2-35b334fef2ae
92
- Link:
93
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Collection.json>;
94
- rel="describedBy"
95
- Vary:
96
- - Accept-Encoding
97
- Date:
98
- - Thu, 04 Aug 2016 15:10:19 GMT
99
- Connection:
100
- - keep-alive
101
- Set-Cookie:
102
- - _AVESTA_ENVIRONMENT=prod; path=/
103
- body:
104
- encoding: ASCII-8BIT
105
- string: '{"list_id":"e73f5910ca","categories":[{"list_id":"e73f5910ca","id":"f349987e8f","title":"Sex","display_order":0,"type":"radio"},{"list_id":"e73f5910ca","id":"7b24b8a11a","title":"Days","display_order":1,"type":"checkboxes"}],"total_items":2}'
106
- http_version:
107
- recorded_at: Thu, 04 Aug 2016 15:10:19 GMT
108
- - request:
109
- method: post
110
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories
111
- body:
112
- encoding: UTF-8
113
- string: '{"title":"Days","type":"checkboxes"}'
114
- headers:
115
- Accept:
116
- - "*/*; q=0.5, application/xml"
117
- Accept-Encoding:
118
- - gzip, deflate
119
- User-Agent:
120
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
121
- Authorization:
122
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
123
- Content-Length:
124
- - '36'
125
- Host:
126
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
127
- response:
128
- status:
129
- code: 200
130
- message: OK
131
- headers:
132
- Server:
133
- - nginx
134
- Content-Type:
135
- - application/json; charset=utf-8
136
- Content-Length:
137
- - '1399'
138
- X-Request-Id:
139
- - 474c1fc0-f553-4510-a603-34b393860d24
140
- Link:
141
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Instance.json>;
142
- rel="describedBy"
143
- Vary:
144
- - Accept-Encoding
145
- Date:
146
- - Thu, 04 Aug 2016 15:11:02 GMT
147
- Connection:
148
- - keep-alive
149
- Set-Cookie:
150
- - _AVESTA_ENVIRONMENT=prod; path=/
151
- body:
152
- encoding: ASCII-8BIT
153
- string: '{"list_id":"e73f5910ca","id":"e5b49d3b2a","title":"Days","display_order":1,"type":"checkboxes","_links":[{"rel":"self","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Instance.json"},{"rel":"parent","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/InterestCategories.json"},{"rel":"update","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a","method":"PATCH","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Instance.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Instance.json"},{"rel":"delete","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a","method":"DELETE"},{"rel":"interests","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"}]}'
154
- http_version:
155
- recorded_at: Thu, 04 Aug 2016 15:11:02 GMT
156
- - request:
157
- method: get
158
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests?count=500&exclude_fields=interests._links,_links&offset=0
159
- body:
160
- encoding: US-ASCII
161
- string: ''
162
- headers:
163
- Accept:
164
- - "*/*; q=0.5, application/xml"
165
- Accept-Encoding:
166
- - gzip, deflate
167
- User-Agent:
168
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
169
- Authorization:
170
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
171
- Host:
172
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
173
- response:
174
- status:
175
- code: 200
176
- message: OK
177
- headers:
178
- Server:
179
- - nginx
180
- Content-Type:
181
- - application/json; charset=utf-8
182
- Content-Length:
183
- - '82'
184
- X-Request-Id:
185
- - dff00057-227e-490f-aa9f-dfc2d2aec712
186
- Link:
187
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
188
- rel="describedBy"
189
- Vary:
190
- - Accept-Encoding
191
- Date:
192
- - Thu, 04 Aug 2016 15:11:03 GMT
193
- Connection:
194
- - keep-alive
195
- Set-Cookie:
196
- - _AVESTA_ENVIRONMENT=prod; path=/
197
- body:
198
- encoding: ASCII-8BIT
199
- string: '{"interests":[],"list_id":"e73f5910ca","category_id":"e5b49d3b2a","total_items":0}'
200
- http_version:
201
- recorded_at: Thu, 04 Aug 2016 15:11:03 GMT
202
- - request:
203
- method: get
204
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests?count=500&exclude_fields=interests._links,_links&offset=0
205
- body:
206
- encoding: US-ASCII
207
- string: ''
208
- headers:
209
- Accept:
210
- - "*/*; q=0.5, application/xml"
211
- Accept-Encoding:
212
- - gzip, deflate
213
- User-Agent:
214
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
215
- Authorization:
216
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
217
- Host:
218
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
219
- response:
220
- status:
221
- code: 200
222
- message: OK
223
- headers:
224
- Server:
225
- - nginx
226
- Content-Type:
227
- - application/json; charset=utf-8
228
- Content-Length:
229
- - '82'
230
- X-Request-Id:
231
- - c6048e1a-f9bb-485f-9e5c-e33ea808ecfb
232
- Link:
233
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
234
- rel="describedBy"
235
- Vary:
236
- - Accept-Encoding
237
- Date:
238
- - Thu, 04 Aug 2016 15:11:03 GMT
239
- Connection:
240
- - keep-alive
241
- Set-Cookie:
242
- - _AVESTA_ENVIRONMENT=prod; path=/
243
- body:
244
- encoding: ASCII-8BIT
245
- string: '{"interests":[],"list_id":"e73f5910ca","category_id":"e5b49d3b2a","total_items":0}'
246
- http_version:
247
- recorded_at: Thu, 04 Aug 2016 15:11:03 GMT
248
- - request:
249
- method: post
250
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests
251
- body:
252
- encoding: UTF-8
253
- string: '{"name":"Monday"}'
254
- headers:
255
- Accept:
256
- - "*/*; q=0.5, application/xml"
257
- Accept-Encoding:
258
- - gzip, deflate
259
- User-Agent:
260
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
261
- Authorization:
262
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
263
- Content-Length:
264
- - '17'
265
- Host:
266
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
267
- response:
268
- status:
269
- code: 200
270
- message: OK
271
- headers:
272
- Server:
273
- - nginx
274
- Content-Type:
275
- - application/json; charset=utf-8
276
- Content-Length:
277
- - '1151'
278
- X-Request-Id:
279
- - 8013f35c-65f1-418d-9636-5d79bab177cc
280
- Link:
281
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json>;
282
- rel="describedBy"
283
- Vary:
284
- - Accept-Encoding
285
- Date:
286
- - Thu, 04 Aug 2016 15:11:03 GMT
287
- Connection:
288
- - keep-alive
289
- Set-Cookie:
290
- - _AVESTA_ENVIRONMENT=prod; path=/
291
- body:
292
- encoding: ASCII-8BIT
293
- string: '{"category_id":"e5b49d3b2a","list_id":"e73f5910ca","id":"242ed4aa50","name":"Monday","subscriber_count":"0","display_order":1,"_links":[{"rel":"self","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests/242ed4aa50","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json"},{"rel":"parent","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"update","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests/242ed4aa50","method":"PATCH","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json"},{"rel":"delete","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests/242ed4aa50","method":"DELETE"}]}'
294
- http_version:
295
- recorded_at: Thu, 04 Aug 2016 15:11:03 GMT
296
- - request:
297
- method: get
298
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests?count=500&exclude_fields=interests._links,_links&offset=0
299
- body:
300
- encoding: US-ASCII
301
- string: ''
302
- headers:
303
- Accept:
304
- - "*/*; q=0.5, application/xml"
305
- Accept-Encoding:
306
- - gzip, deflate
307
- User-Agent:
308
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
309
- Authorization:
310
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
311
- Host:
312
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
313
- response:
314
- status:
315
- code: 200
316
- message: OK
317
- headers:
318
- Server:
319
- - nginx
320
- Content-Type:
321
- - application/json; charset=utf-8
322
- Content-Length:
323
- - '208'
324
- X-Request-Id:
325
- - 8fe2d4ea-c2cc-4455-8a11-298c3ba6639f
326
- Link:
327
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
328
- rel="describedBy"
329
- Vary:
330
- - Accept-Encoding
331
- Date:
332
- - Thu, 04 Aug 2016 15:11:03 GMT
333
- Connection:
334
- - keep-alive
335
- Set-Cookie:
336
- - _AVESTA_ENVIRONMENT=prod; path=/
337
- body:
338
- encoding: ASCII-8BIT
339
- string: '{"interests":[{"category_id":"e5b49d3b2a","list_id":"e73f5910ca","id":"242ed4aa50","name":"Monday","subscriber_count":"0","display_order":1}],"list_id":"e73f5910ca","category_id":"e5b49d3b2a","total_items":1}'
340
- http_version:
341
- recorded_at: Thu, 04 Aug 2016 15:11:03 GMT
342
- - request:
343
- method: post
344
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests
345
- body:
346
- encoding: UTF-8
347
- string: '{"name":"Tuesday"}'
348
- headers:
349
- Accept:
350
- - "*/*; q=0.5, application/xml"
351
- Accept-Encoding:
352
- - gzip, deflate
353
- User-Agent:
354
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
355
- Authorization:
356
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
357
- Content-Length:
358
- - '18'
359
- Host:
360
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
361
- response:
362
- status:
363
- code: 200
364
- message: OK
365
- headers:
366
- Server:
367
- - nginx
368
- Content-Type:
369
- - application/json; charset=utf-8
370
- Content-Length:
371
- - '1152'
372
- X-Request-Id:
373
- - 2d1e81f4-54e2-4c67-839d-1ef29d81db51
374
- Link:
375
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json>;
376
- rel="describedBy"
377
- Vary:
378
- - Accept-Encoding
379
- Date:
380
- - Thu, 04 Aug 2016 15:11:04 GMT
381
- Connection:
382
- - keep-alive
383
- Set-Cookie:
384
- - _AVESTA_ENVIRONMENT=prod; path=/
385
- body:
386
- encoding: ASCII-8BIT
387
- string: '{"category_id":"e5b49d3b2a","list_id":"e73f5910ca","id":"fc79f56941","name":"Tuesday","subscriber_count":"0","display_order":2,"_links":[{"rel":"self","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests/fc79f56941","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json"},{"rel":"parent","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"update","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests/fc79f56941","method":"PATCH","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json"},{"rel":"delete","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests/fc79f56941","method":"DELETE"}]}'
388
- http_version:
389
- recorded_at: Thu, 04 Aug 2016 15:11:04 GMT
390
- - request:
391
- method: get
392
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/e5b49d3b2a/interests?count=500&exclude_fields=interests._links,_links&offset=0
393
- body:
394
- encoding: US-ASCII
395
- string: ''
396
- headers:
397
- Accept:
398
- - "*/*; q=0.5, application/xml"
399
- Accept-Encoding:
400
- - gzip, deflate
401
- User-Agent:
402
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
403
- Authorization:
404
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
405
- Host:
406
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
407
- response:
408
- status:
409
- code: 200
410
- message: OK
411
- headers:
412
- Server:
413
- - nginx
414
- Content-Type:
415
- - application/json; charset=utf-8
416
- Content-Length:
417
- - '336'
418
- X-Request-Id:
419
- - b82a697c-a5b1-44fd-b002-4c2dcb90a19c
420
- Link:
421
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
422
- rel="describedBy"
423
- Vary:
424
- - Accept-Encoding
425
- Date:
426
- - Thu, 04 Aug 2016 15:11:04 GMT
427
- Connection:
428
- - keep-alive
429
- Set-Cookie:
430
- - _AVESTA_ENVIRONMENT=prod; path=/
431
- body:
432
- encoding: ASCII-8BIT
433
- string: '{"interests":[{"category_id":"e5b49d3b2a","list_id":"e73f5910ca","id":"242ed4aa50","name":"Monday","subscriber_count":"0","display_order":1},{"category_id":"e5b49d3b2a","list_id":"e73f5910ca","id":"fc79f56941","name":"Tuesday","subscriber_count":"0","display_order":2}],"list_id":"e73f5910ca","category_id":"e5b49d3b2a","total_items":2}'
434
- http_version:
435
- recorded_at: Thu, 04 Aug 2016 15:11:04 GMT
436
- recorded_with: VCR 3.0.3
@@ -1,799 +0,0 @@
1
- ---
2
- http_interactions:
3
- - request:
4
- method: get
5
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists?count=500&exclude_fields=lists._links,_links&offset=0
6
- body:
7
- encoding: US-ASCII
8
- string: ''
9
- headers:
10
- Accept:
11
- - "*/*; q=0.5, application/xml"
12
- Accept-Encoding:
13
- - gzip, deflate
14
- User-Agent:
15
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
16
- Authorization:
17
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
18
- Host:
19
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
20
- response:
21
- status:
22
- code: 200
23
- message: OK
24
- headers:
25
- Server:
26
- - nginx
27
- Content-Type:
28
- - application/json; charset=utf-8
29
- Content-Length:
30
- - '3520'
31
- X-Request-Id:
32
- - 7e719a98-a038-41e0-83ec-71804ee0db1f
33
- Link:
34
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Collection.json>; rel="describedBy"
35
- Vary:
36
- - Accept-Encoding
37
- Date:
38
- - Thu, 04 Aug 2016 14:31:10 GMT
39
- Connection:
40
- - keep-alive
41
- Set-Cookie:
42
- - _AVESTA_ENVIRONMENT=prod; path=/
43
- body:
44
- encoding: ASCII-8BIT
45
- string: '{"lists":[{"id":"e73f5910ca","name":"My first list","contact":{"company":"InSite
46
- Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"","zip":"E14
47
- 7DQ","country":"GB","phone":"07917153555"},"permission_reminder":"Opt-in only","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
48
- Sayers","from_email":"sam@sayers.cc","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-06-27T14:49:18+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/brGTO9","subscribe_url_long":"http://insitearts.us11.list-manage2.com/subscribe?u=1dbca289fd41b54838bcbb501&id=e73f5910ca","beamer_address":"us11-6692a2b3c3-bcd2a8b144@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":3,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":3,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-11T12:41:38+00:00","last_unsub_date":""}},{"id":"71937ea346","name":"My
49
- second list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
50
- One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"Test
51
- list for Xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
52
- Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-09T10:17:28+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bsNMtP","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=71937ea346","beamer_address":"us11-6692a2b3c3-e843e438a6@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":1,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-09T13:32:01+00:00","last_unsub_date":""}},{"id":"3f19e5d463","name":"My
53
- third list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
54
- One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"For
55
- xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
56
- Sayers","from_email":"sam@insitearts.com","subject":"","language":"en"},"notify_on_subscribe":"","notify_on_unsubscribe":"","date_created":"2015-07-12T16:45:11+00:00","list_rating":0,"email_type_option":false,"subscribe_url_short":"http://eepurl.com/bs3cI1","subscribe_url_long":"http://insitearts.us11.list-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=3f19e5d463","beamer_address":"us11-6692a2b3c3-8e485f6d99@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":4,"unsubscribe_count":0,"cleaned_count":0,"member_count_since_send":0,"unsubscribe_count_since_send":0,"cleaned_count_since_send":0,"campaign_count":0,"campaign_last_sent":"","merge_field_count":2,"avg_sub_rate":0,"avg_unsub_rate":0,"target_sub_rate":0,"open_rate":0,"click_rate":0,"last_sub_date":"2015-07-14T11:28:57+00:00","last_unsub_date":""}}],"total_items":3}'
57
- http_version:
58
- recorded_at: Thu, 04 Aug 2016 14:31:10 GMT
59
- - request:
60
- method: get
61
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories?count=500&exclude_fields=categories._links,_links&offset=0
62
- body:
63
- encoding: US-ASCII
64
- string: ''
65
- headers:
66
- Accept:
67
- - "*/*; q=0.5, application/xml"
68
- Accept-Encoding:
69
- - gzip, deflate
70
- User-Agent:
71
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
72
- Authorization:
73
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
74
- Host:
75
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
76
- response:
77
- status:
78
- code: 200
79
- message: OK
80
- headers:
81
- Server:
82
- - nginx
83
- Content-Type:
84
- - application/json; charset=utf-8
85
- Content-Length:
86
- - '145'
87
- X-Request-Id:
88
- - 81dfcadf-c979-4ecb-b741-cbbc8d02da80
89
- Link:
90
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Collection.json>;
91
- rel="describedBy"
92
- Vary:
93
- - Accept-Encoding
94
- Date:
95
- - Thu, 04 Aug 2016 14:31:10 GMT
96
- Connection:
97
- - keep-alive
98
- Set-Cookie:
99
- - _AVESTA_ENVIRONMENT=prod; path=/
100
- body:
101
- encoding: ASCII-8BIT
102
- string: '{"list_id":"e73f5910ca","categories":[{"list_id":"e73f5910ca","id":"f349987e8f","title":"Sex","display_order":0,"type":"radio"}],"total_items":1}'
103
- http_version:
104
- recorded_at: Thu, 04 Aug 2016 14:31:10 GMT
105
- - request:
106
- method: post
107
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories
108
- body:
109
- encoding: UTF-8
110
- string: '{"title":"Days","type":"checkboxes"}'
111
- headers:
112
- Accept:
113
- - "*/*; q=0.5, application/xml"
114
- Accept-Encoding:
115
- - gzip, deflate
116
- User-Agent:
117
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
118
- Authorization:
119
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
120
- Content-Length:
121
- - '36'
122
- Host:
123
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
124
- response:
125
- status:
126
- code: 200
127
- message: OK
128
- headers:
129
- Server:
130
- - nginx
131
- Content-Type:
132
- - application/json; charset=utf-8
133
- Content-Length:
134
- - '1399'
135
- X-Request-Id:
136
- - 1e976a83-2bdc-4854-b940-bdb26b1ba40e
137
- Link:
138
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Instance.json>;
139
- rel="describedBy"
140
- Vary:
141
- - Accept-Encoding
142
- Date:
143
- - Thu, 04 Aug 2016 14:31:11 GMT
144
- Connection:
145
- - keep-alive
146
- Set-Cookie:
147
- - _AVESTA_ENVIRONMENT=prod; path=/
148
- body:
149
- encoding: ASCII-8BIT
150
- string: '{"list_id":"e73f5910ca","id":"4df12c7b69","title":"Days","display_order":1,"type":"checkboxes","_links":[{"rel":"self","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Instance.json"},{"rel":"parent","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/InterestCategories.json"},{"rel":"update","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69","method":"PATCH","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Instance.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/InterestCategories/Instance.json"},{"rel":"delete","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69","method":"DELETE"},{"rel":"interests","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"}]}'
151
- http_version:
152
- recorded_at: Thu, 04 Aug 2016 14:31:11 GMT
153
- - request:
154
- method: get
155
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests?count=500&exclude_fields=interests._links,_links&offset=0
156
- body:
157
- encoding: US-ASCII
158
- string: ''
159
- headers:
160
- Accept:
161
- - "*/*; q=0.5, application/xml"
162
- Accept-Encoding:
163
- - gzip, deflate
164
- User-Agent:
165
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
166
- Authorization:
167
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
168
- Host:
169
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
170
- response:
171
- status:
172
- code: 200
173
- message: OK
174
- headers:
175
- Server:
176
- - nginx
177
- Content-Type:
178
- - application/json; charset=utf-8
179
- Content-Length:
180
- - '82'
181
- X-Request-Id:
182
- - cdeecd23-92d3-448e-a5b3-f6b3b9a2394a
183
- Link:
184
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
185
- rel="describedBy"
186
- Vary:
187
- - Accept-Encoding
188
- Date:
189
- - Thu, 04 Aug 2016 14:31:11 GMT
190
- Connection:
191
- - keep-alive
192
- Set-Cookie:
193
- - _AVESTA_ENVIRONMENT=prod; path=/
194
- body:
195
- encoding: ASCII-8BIT
196
- string: '{"interests":[],"list_id":"e73f5910ca","category_id":"4df12c7b69","total_items":0}'
197
- http_version:
198
- recorded_at: Thu, 04 Aug 2016 14:31:11 GMT
199
- - request:
200
- method: get
201
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests?count=500&exclude_fields=interests._links,_links&offset=0
202
- body:
203
- encoding: US-ASCII
204
- string: ''
205
- headers:
206
- Accept:
207
- - "*/*; q=0.5, application/xml"
208
- Accept-Encoding:
209
- - gzip, deflate
210
- User-Agent:
211
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
212
- Authorization:
213
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
214
- Host:
215
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
216
- response:
217
- status:
218
- code: 200
219
- message: OK
220
- headers:
221
- Server:
222
- - nginx
223
- Content-Type:
224
- - application/json; charset=utf-8
225
- Content-Length:
226
- - '82'
227
- X-Request-Id:
228
- - d6edeeb0-0259-46a3-9618-90f82394f118
229
- Link:
230
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
231
- rel="describedBy"
232
- Vary:
233
- - Accept-Encoding
234
- Date:
235
- - Thu, 04 Aug 2016 14:31:19 GMT
236
- Connection:
237
- - keep-alive
238
- Set-Cookie:
239
- - _AVESTA_ENVIRONMENT=prod; path=/
240
- body:
241
- encoding: ASCII-8BIT
242
- string: '{"interests":[],"list_id":"e73f5910ca","category_id":"4df12c7b69","total_items":0}'
243
- http_version:
244
- recorded_at: Thu, 04 Aug 2016 14:31:19 GMT
245
- - request:
246
- method: post
247
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests
248
- body:
249
- encoding: UTF-8
250
- string: '{"name":"Monday"}'
251
- headers:
252
- Accept:
253
- - "*/*; q=0.5, application/xml"
254
- Accept-Encoding:
255
- - gzip, deflate
256
- User-Agent:
257
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
258
- Authorization:
259
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
260
- Content-Length:
261
- - '17'
262
- Host:
263
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
264
- response:
265
- status:
266
- code: 200
267
- message: OK
268
- headers:
269
- Server:
270
- - nginx
271
- Content-Type:
272
- - application/json; charset=utf-8
273
- Content-Length:
274
- - '1151'
275
- X-Request-Id:
276
- - dff34019-9112-4555-9016-0e5d73e56a57
277
- Link:
278
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json>;
279
- rel="describedBy"
280
- Vary:
281
- - Accept-Encoding
282
- Date:
283
- - Thu, 04 Aug 2016 14:31:20 GMT
284
- Connection:
285
- - keep-alive
286
- Set-Cookie:
287
- - _AVESTA_ENVIRONMENT=prod; path=/
288
- body:
289
- encoding: ASCII-8BIT
290
- string: '{"category_id":"4df12c7b69","list_id":"e73f5910ca","id":"a7bd8bba24","name":"Monday","subscriber_count":"0","display_order":1,"_links":[{"rel":"self","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests/a7bd8bba24","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json"},{"rel":"parent","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"update","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests/a7bd8bba24","method":"PATCH","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json"},{"rel":"delete","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests/a7bd8bba24","method":"DELETE"}]}'
291
- http_version:
292
- recorded_at: Thu, 04 Aug 2016 14:31:20 GMT
293
- - request:
294
- method: get
295
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests?count=500&exclude_fields=interests._links,_links&offset=0
296
- body:
297
- encoding: US-ASCII
298
- string: ''
299
- headers:
300
- Accept:
301
- - "*/*; q=0.5, application/xml"
302
- Accept-Encoding:
303
- - gzip, deflate
304
- User-Agent:
305
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
306
- Authorization:
307
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
308
- Host:
309
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
310
- response:
311
- status:
312
- code: 200
313
- message: OK
314
- headers:
315
- Server:
316
- - nginx
317
- Content-Type:
318
- - application/json; charset=utf-8
319
- Content-Length:
320
- - '208'
321
- X-Request-Id:
322
- - 8eb85bbd-50ab-4558-8548-78ab8ceaedf8
323
- Link:
324
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
325
- rel="describedBy"
326
- Vary:
327
- - Accept-Encoding
328
- Date:
329
- - Thu, 04 Aug 2016 14:31:20 GMT
330
- Connection:
331
- - keep-alive
332
- Set-Cookie:
333
- - _AVESTA_ENVIRONMENT=prod; path=/
334
- body:
335
- encoding: ASCII-8BIT
336
- string: '{"interests":[{"category_id":"4df12c7b69","list_id":"e73f5910ca","id":"a7bd8bba24","name":"Monday","subscriber_count":"0","display_order":1}],"list_id":"e73f5910ca","category_id":"4df12c7b69","total_items":1}'
337
- http_version:
338
- recorded_at: Thu, 04 Aug 2016 14:31:20 GMT
339
- - request:
340
- method: post
341
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests
342
- body:
343
- encoding: UTF-8
344
- string: '{"name":"Monday"}'
345
- headers:
346
- Accept:
347
- - "*/*; q=0.5, application/xml"
348
- Accept-Encoding:
349
- - gzip, deflate
350
- User-Agent:
351
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
352
- Authorization:
353
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
354
- Content-Length:
355
- - '17'
356
- Host:
357
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
358
- response:
359
- status:
360
- code: 400
361
- message: Bad Request
362
- headers:
363
- Server:
364
- - nginx
365
- Content-Type:
366
- - application/problem+json; charset=utf-8
367
- Content-Length:
368
- - '214'
369
- X-Request-Id:
370
- - f30fbe11-958f-4646-b29b-5147ca2a4e16
371
- Link:
372
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/ProblemDetailDocument.json>; rel="describedBy"
373
- Vary:
374
- - Accept-Encoding
375
- Date:
376
- - Thu, 04 Aug 2016 14:31:21 GMT
377
- Connection:
378
- - close
379
- Set-Cookie:
380
- - _AVESTA_ENVIRONMENT=prod; path=/
381
- body:
382
- encoding: ASCII-8BIT
383
- string: '{"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Invalid
384
- Resource","status":400,"detail":"Cannot add \"Monday\" because it already
385
- exists on the list.","instance":""}'
386
- http_version:
387
- recorded_at: Thu, 04 Aug 2016 14:31:21 GMT
388
- - request:
389
- method: get
390
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests?count=500&exclude_fields=interests._links,_links&offset=0
391
- body:
392
- encoding: US-ASCII
393
- string: ''
394
- headers:
395
- Accept:
396
- - "*/*; q=0.5, application/xml"
397
- Accept-Encoding:
398
- - gzip, deflate
399
- User-Agent:
400
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
401
- Authorization:
402
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
403
- Host:
404
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
405
- response:
406
- status:
407
- code: 200
408
- message: OK
409
- headers:
410
- Server:
411
- - nginx
412
- Content-Type:
413
- - application/json; charset=utf-8
414
- Content-Length:
415
- - '208'
416
- X-Request-Id:
417
- - b2d4449c-28ac-44e1-adab-a72d5fa4a206
418
- Link:
419
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
420
- rel="describedBy"
421
- Vary:
422
- - Accept-Encoding
423
- Date:
424
- - Thu, 04 Aug 2016 14:31:21 GMT
425
- Connection:
426
- - keep-alive
427
- Set-Cookie:
428
- - _AVESTA_ENVIRONMENT=prod; path=/
429
- body:
430
- encoding: ASCII-8BIT
431
- string: '{"interests":[{"category_id":"4df12c7b69","list_id":"e73f5910ca","id":"a7bd8bba24","name":"Monday","subscriber_count":"0","display_order":1}],"list_id":"e73f5910ca","category_id":"4df12c7b69","total_items":1}'
432
- http_version:
433
- recorded_at: Thu, 04 Aug 2016 14:31:21 GMT
434
- - request:
435
- method: get
436
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests?count=500&exclude_fields=interests._links,_links&offset=0
437
- body:
438
- encoding: US-ASCII
439
- string: ''
440
- headers:
441
- Accept:
442
- - "*/*; q=0.5, application/xml"
443
- Accept-Encoding:
444
- - gzip, deflate
445
- User-Agent:
446
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
447
- Authorization:
448
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
449
- Host:
450
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
451
- response:
452
- status:
453
- code: 200
454
- message: OK
455
- headers:
456
- Server:
457
- - nginx
458
- Content-Type:
459
- - application/json; charset=utf-8
460
- Content-Length:
461
- - '208'
462
- X-Request-Id:
463
- - 3fd0e1e4-534b-4296-8e96-c79885833c2e
464
- Link:
465
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
466
- rel="describedBy"
467
- Vary:
468
- - Accept-Encoding
469
- Date:
470
- - Thu, 04 Aug 2016 14:31:21 GMT
471
- Connection:
472
- - keep-alive
473
- Set-Cookie:
474
- - _AVESTA_ENVIRONMENT=prod; path=/
475
- body:
476
- encoding: ASCII-8BIT
477
- string: '{"interests":[{"category_id":"4df12c7b69","list_id":"e73f5910ca","id":"a7bd8bba24","name":"Monday","subscriber_count":"0","display_order":1}],"list_id":"e73f5910ca","category_id":"4df12c7b69","total_items":1}'
478
- http_version:
479
- recorded_at: Thu, 04 Aug 2016 14:31:21 GMT
480
- - request:
481
- method: get
482
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests?count=500&exclude_fields=interests._links,_links&offset=0
483
- body:
484
- encoding: US-ASCII
485
- string: ''
486
- headers:
487
- Accept:
488
- - "*/*; q=0.5, application/xml"
489
- Accept-Encoding:
490
- - gzip, deflate
491
- User-Agent:
492
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
493
- Authorization:
494
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
495
- Host:
496
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
497
- response:
498
- status:
499
- code: 200
500
- message: OK
501
- headers:
502
- Server:
503
- - nginx
504
- Content-Type:
505
- - application/json; charset=utf-8
506
- Content-Length:
507
- - '208'
508
- X-Request-Id:
509
- - 02bafd6d-e7a0-4789-98ed-157f58cd4b78
510
- Link:
511
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
512
- rel="describedBy"
513
- Vary:
514
- - Accept-Encoding
515
- Date:
516
- - Thu, 04 Aug 2016 14:31:21 GMT
517
- Connection:
518
- - keep-alive
519
- Set-Cookie:
520
- - _AVESTA_ENVIRONMENT=prod; path=/
521
- body:
522
- encoding: ASCII-8BIT
523
- string: '{"interests":[{"category_id":"4df12c7b69","list_id":"e73f5910ca","id":"a7bd8bba24","name":"Monday","subscriber_count":"0","display_order":1}],"list_id":"e73f5910ca","category_id":"4df12c7b69","total_items":1}'
524
- http_version:
525
- recorded_at: Thu, 04 Aug 2016 14:31:21 GMT
526
- - request:
527
- method: get
528
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests?count=500&exclude_fields=interests._links,_links&offset=0
529
- body:
530
- encoding: US-ASCII
531
- string: ''
532
- headers:
533
- Accept:
534
- - "*/*; q=0.5, application/xml"
535
- Accept-Encoding:
536
- - gzip, deflate
537
- User-Agent:
538
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
539
- Authorization:
540
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
541
- Host:
542
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
543
- response:
544
- status:
545
- code: 200
546
- message: OK
547
- headers:
548
- Server:
549
- - nginx
550
- Content-Type:
551
- - application/json; charset=utf-8
552
- Content-Length:
553
- - '208'
554
- X-Request-Id:
555
- - 7e808892-fdd4-4a62-9dad-f4479834ea53
556
- Link:
557
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
558
- rel="describedBy"
559
- Vary:
560
- - Accept-Encoding
561
- Date:
562
- - Thu, 04 Aug 2016 14:31:22 GMT
563
- Connection:
564
- - keep-alive
565
- Set-Cookie:
566
- - _AVESTA_ENVIRONMENT=prod; path=/
567
- body:
568
- encoding: ASCII-8BIT
569
- string: '{"interests":[{"category_id":"4df12c7b69","list_id":"e73f5910ca","id":"a7bd8bba24","name":"Monday","subscriber_count":"0","display_order":1}],"list_id":"e73f5910ca","category_id":"4df12c7b69","total_items":1}'
570
- http_version:
571
- recorded_at: Thu, 04 Aug 2016 14:31:22 GMT
572
- - request:
573
- method: get
574
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests?count=500&exclude_fields=interests._links,_links&offset=0
575
- body:
576
- encoding: US-ASCII
577
- string: ''
578
- headers:
579
- Accept:
580
- - "*/*; q=0.5, application/xml"
581
- Accept-Encoding:
582
- - gzip, deflate
583
- User-Agent:
584
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
585
- Authorization:
586
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
587
- Host:
588
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
589
- response:
590
- status:
591
- code: 200
592
- message: OK
593
- headers:
594
- Server:
595
- - nginx
596
- Content-Type:
597
- - application/json; charset=utf-8
598
- Content-Length:
599
- - '208'
600
- X-Request-Id:
601
- - f49a8513-b59b-476e-8a50-ad259ef2b3bf
602
- Link:
603
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
604
- rel="describedBy"
605
- Vary:
606
- - Accept-Encoding
607
- Date:
608
- - Thu, 04 Aug 2016 14:31:22 GMT
609
- Connection:
610
- - keep-alive
611
- Set-Cookie:
612
- - _AVESTA_ENVIRONMENT=prod; path=/
613
- body:
614
- encoding: ASCII-8BIT
615
- string: '{"interests":[{"category_id":"4df12c7b69","list_id":"e73f5910ca","id":"a7bd8bba24","name":"Monday","subscriber_count":"0","display_order":1}],"list_id":"e73f5910ca","category_id":"4df12c7b69","total_items":1}'
616
- http_version:
617
- recorded_at: Thu, 04 Aug 2016 14:31:22 GMT
618
- - request:
619
- method: delete
620
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests/a7bd8bba24
621
- body:
622
- encoding: US-ASCII
623
- string: ''
624
- headers:
625
- Accept:
626
- - "*/*; q=0.5, application/xml"
627
- Accept-Encoding:
628
- - gzip, deflate
629
- User-Agent:
630
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
631
- Authorization:
632
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
633
- Host:
634
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
635
- response:
636
- status:
637
- code: 204
638
- message: No Content
639
- headers:
640
- Server:
641
- - nginx
642
- Content-Type:
643
- - application/json; charset=utf-8
644
- Content-Length:
645
- - '0'
646
- X-Request-Id:
647
- - b5fcc498-9f3b-463a-a1c9-d7583b29cb17
648
- Date:
649
- - Thu, 04 Aug 2016 14:31:22 GMT
650
- Connection:
651
- - keep-alive
652
- Set-Cookie:
653
- - _AVESTA_ENVIRONMENT=prod; path=/
654
- body:
655
- encoding: UTF-8
656
- string: ''
657
- http_version:
658
- recorded_at: Thu, 04 Aug 2016 14:31:22 GMT
659
- - request:
660
- method: get
661
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests?count=500&exclude_fields=interests._links,_links&offset=0
662
- body:
663
- encoding: US-ASCII
664
- string: ''
665
- headers:
666
- Accept:
667
- - "*/*; q=0.5, application/xml"
668
- Accept-Encoding:
669
- - gzip, deflate
670
- User-Agent:
671
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
672
- Authorization:
673
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
674
- Host:
675
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
676
- response:
677
- status:
678
- code: 200
679
- message: OK
680
- headers:
681
- Server:
682
- - nginx
683
- Content-Type:
684
- - application/json; charset=utf-8
685
- Content-Length:
686
- - '82'
687
- X-Request-Id:
688
- - af31fdb1-f572-4c3b-b978-86df2541b99c
689
- Link:
690
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
691
- rel="describedBy"
692
- Vary:
693
- - Accept-Encoding
694
- Date:
695
- - Thu, 04 Aug 2016 14:31:22 GMT
696
- Connection:
697
- - keep-alive
698
- Set-Cookie:
699
- - _AVESTA_ENVIRONMENT=prod; path=/
700
- body:
701
- encoding: ASCII-8BIT
702
- string: '{"interests":[],"list_id":"e73f5910ca","category_id":"4df12c7b69","total_items":0}'
703
- http_version:
704
- recorded_at: Thu, 04 Aug 2016 14:31:22 GMT
705
- - request:
706
- method: get
707
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests?count=500&exclude_fields=interests._links,_links&offset=0
708
- body:
709
- encoding: US-ASCII
710
- string: ''
711
- headers:
712
- Accept:
713
- - "*/*; q=0.5, application/xml"
714
- Accept-Encoding:
715
- - gzip, deflate
716
- User-Agent:
717
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
718
- Authorization:
719
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
720
- Host:
721
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
722
- response:
723
- status:
724
- code: 200
725
- message: OK
726
- headers:
727
- Server:
728
- - nginx
729
- Content-Type:
730
- - application/json; charset=utf-8
731
- Content-Length:
732
- - '82'
733
- X-Request-Id:
734
- - f061a9ab-873b-4097-a301-643ba399ad19
735
- Link:
736
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json>;
737
- rel="describedBy"
738
- Vary:
739
- - Accept-Encoding
740
- Date:
741
- - Thu, 04 Aug 2016 14:31:23 GMT
742
- Connection:
743
- - keep-alive
744
- Set-Cookie:
745
- - _AVESTA_ENVIRONMENT=prod; path=/
746
- body:
747
- encoding: ASCII-8BIT
748
- string: '{"interests":[],"list_id":"e73f5910ca","category_id":"4df12c7b69","total_items":0}'
749
- http_version:
750
- recorded_at: Thu, 04 Aug 2016 14:31:23 GMT
751
- - request:
752
- method: post
753
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests
754
- body:
755
- encoding: UTF-8
756
- string: '{"name":"Tuesday"}'
757
- headers:
758
- Accept:
759
- - "*/*; q=0.5, application/xml"
760
- Accept-Encoding:
761
- - gzip, deflate
762
- User-Agent:
763
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
764
- Authorization:
765
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
766
- Content-Length:
767
- - '18'
768
- Host:
769
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
770
- response:
771
- status:
772
- code: 200
773
- message: OK
774
- headers:
775
- Server:
776
- - nginx
777
- Content-Type:
778
- - application/json; charset=utf-8
779
- Content-Length:
780
- - '1152'
781
- X-Request-Id:
782
- - 9d3ff4f5-991d-4624-bf4d-aafeac6d87e3
783
- Link:
784
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json>;
785
- rel="describedBy"
786
- Vary:
787
- - Accept-Encoding
788
- Date:
789
- - Thu, 04 Aug 2016 14:31:23 GMT
790
- Connection:
791
- - keep-alive
792
- Set-Cookie:
793
- - _AVESTA_ENVIRONMENT=prod; path=/
794
- body:
795
- encoding: ASCII-8BIT
796
- string: '{"category_id":"4df12c7b69","list_id":"e73f5910ca","id":"4e52548ea0","name":"Tuesday","subscriber_count":"0","display_order":1,"_links":[{"rel":"self","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests/4e52548ea0","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json"},{"rel":"parent","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Interests.json"},{"rel":"update","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests/4e52548ea0","method":"PATCH","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Interests/Instance.json"},{"rel":"delete","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/interest-categories/4df12c7b69/interests/4e52548ea0","method":"DELETE"}]}'
797
- http_version:
798
- recorded_at: Thu, 04 Aug 2016 14:31:23 GMT
799
- recorded_with: VCR 3.0.3