mailchimp_api_v3 0.2.17 → 0.2.18

Sign up to get free protection for your applications and to get access to all the features.
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,298 +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
- - '4702'
31
- X-Request-Id:
32
- - cbb0b337-5618-4b63-8ae0-cfa75c7b3b77
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:57:21 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-manage.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-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":""}},{"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 14:57:21 GMT
62
- - request:
63
- method: get
64
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._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
- - '1869'
90
- X-Request-Id:
91
- - c2afd1d7-0e8c-4c01-b125-5a3e5c48dfb5
92
- Link:
93
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
94
- rel="describedBy"
95
- Vary:
96
- - Accept-Encoding
97
- Date:
98
- - Thu, 04 Aug 2016 14:57:22 GMT
99
- Connection:
100
- - keep-alive
101
- Set-Cookie:
102
- - _AVESTA_ENVIRONMENT=prod; path=/
103
- body:
104
- encoding: ASCII-8BIT
105
- string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:21+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
106
- http_version:
107
- recorded_at: Thu, 04 Aug 2016 14:57:22 GMT
108
- - request:
109
- method: get
110
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
111
- body:
112
- encoding: US-ASCII
113
- string: ''
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
- Host:
124
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
125
- response:
126
- status:
127
- code: 200
128
- message: OK
129
- headers:
130
- Server:
131
- - nginx
132
- Content-Type:
133
- - application/json; charset=utf-8
134
- Content-Length:
135
- - '1869'
136
- X-Request-Id:
137
- - 5c1f07dd-5983-4ad4-ac13-15f6eeadb232
138
- Link:
139
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
140
- rel="describedBy"
141
- Vary:
142
- - Accept-Encoding
143
- Date:
144
- - Thu, 04 Aug 2016 14:57:22 GMT
145
- Connection:
146
- - keep-alive
147
- Set-Cookie:
148
- - _AVESTA_ENVIRONMENT=prod; path=/
149
- body:
150
- encoding: ASCII-8BIT
151
- string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Catherine","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:56:19+00:00","member_rating":2,"last_changed":"2016-08-04T14:56:21+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
152
- http_version:
153
- recorded_at: Thu, 04 Aug 2016 14:57:22 GMT
154
- - request:
155
- method: patch
156
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151
157
- body:
158
- encoding: UTF-8
159
- string: '{"merge_fields":{"FNAME":"Ann","LNAME":"Example"}}'
160
- headers:
161
- Accept:
162
- - "*/*; q=0.5, application/xml"
163
- Accept-Encoding:
164
- - gzip, deflate
165
- User-Agent:
166
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
167
- Authorization:
168
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
169
- Content-Length:
170
- - '50'
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
- - '2391'
184
- X-Request-Id:
185
- - af4c67d1-b7b1-4f19-8f73-0c83c2569612
186
- Link:
187
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
188
- <https://us11.admin.mailchimp.com/lists/members/view?id=53829821>; rel="dashboard"
189
- Vary:
190
- - Accept-Encoding
191
- Date:
192
- - Thu, 04 Aug 2016 14:57:22 GMT
193
- Connection:
194
- - keep-alive
195
- Set-Cookie:
196
- - _AVESTA_ENVIRONMENT=prod; path=/
197
- body:
198
- encoding: ASCII-8BIT
199
- string: '{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2016-08-04T14:57:22+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca","_links":[{"rel":"self","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"parent","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json"},{"rel":"update","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151","method":"PATCH","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"upsert","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151","method":"PUT","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"delete","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151","method":"DELETE"},{"rel":"activity","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151/activity","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Activity/Collection.json"},{"rel":"goals","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151/goals","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Goals/Collection.json"},{"rel":"notes","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151/notes","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
200
- http_version:
201
- recorded_at: Thu, 04 Aug 2016 14:57:22 GMT
202
- - request:
203
- method: patch
204
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151
205
- body:
206
- encoding: UTF-8
207
- string: '{"merge_fields":{"FNAME":"Billy","LNAME":"Bonkers"}}'
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
- Content-Length:
218
- - '52'
219
- Host:
220
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
221
- response:
222
- status:
223
- code: 200
224
- message: OK
225
- headers:
226
- Server:
227
- - nginx
228
- Content-Type:
229
- - application/json; charset=utf-8
230
- Content-Length:
231
- - '2393'
232
- X-Request-Id:
233
- - 9acf856c-e380-41dc-93f0-66b27924f5ee
234
- Link:
235
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
236
- <https://us11.admin.mailchimp.com/lists/members/view?id=53829821>; rel="dashboard"
237
- Vary:
238
- - Accept-Encoding
239
- Date:
240
- - Thu, 04 Aug 2016 14:57:22 GMT
241
- Connection:
242
- - keep-alive
243
- Set-Cookie:
244
- - _AVESTA_ENVIRONMENT=prod; path=/
245
- body:
246
- encoding: ASCII-8BIT
247
- string: '{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Billy","LNAME":"Bonkers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2016-08-04T14:57:22+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca","_links":[{"rel":"self","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"parent","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json"},{"rel":"update","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151","method":"PATCH","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"upsert","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151","method":"PUT","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"delete","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151","method":"DELETE"},{"rel":"activity","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151/activity","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Activity/Collection.json"},{"rel":"goals","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151/goals","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Goals/Collection.json"},{"rel":"notes","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151/notes","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
248
- http_version:
249
- recorded_at: Thu, 04 Aug 2016 14:57:22 GMT
250
- - request:
251
- method: patch
252
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151
253
- body:
254
- encoding: UTF-8
255
- string: '{"merge_fields":{"FNAME":"William"}}'
256
- headers:
257
- Accept:
258
- - "*/*; q=0.5, application/xml"
259
- Accept-Encoding:
260
- - gzip, deflate
261
- User-Agent:
262
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
263
- Authorization:
264
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
265
- Content-Length:
266
- - '36'
267
- Host:
268
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
269
- response:
270
- status:
271
- code: 200
272
- message: OK
273
- headers:
274
- Server:
275
- - nginx
276
- Content-Type:
277
- - application/json; charset=utf-8
278
- Content-Length:
279
- - '2395'
280
- X-Request-Id:
281
- - 40c32c27-d128-4e08-94a7-08e3464c3eb9
282
- Link:
283
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
284
- <https://us11.admin.mailchimp.com/lists/members/view?id=53829821>; rel="dashboard"
285
- Vary:
286
- - Accept-Encoding
287
- Date:
288
- - Thu, 04 Aug 2016 14:57:23 GMT
289
- Connection:
290
- - keep-alive
291
- Set-Cookie:
292
- - _AVESTA_ENVIRONMENT=prod; path=/
293
- body:
294
- encoding: ASCII-8BIT
295
- string: '{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"William","LNAME":"Bonkers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2016-08-04T14:57:23+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca","_links":[{"rel":"self","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"parent","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json"},{"rel":"update","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151","method":"PATCH","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"upsert","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151","method":"PUT","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"delete","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151","method":"DELETE"},{"rel":"activity","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151/activity","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Activity/Collection.json"},{"rel":"goals","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151/goals","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Goals/Collection.json"},{"rel":"notes","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/140b91c107d2058dee730e75be0b1151/notes","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
296
- http_version:
297
- recorded_at: Thu, 04 Aug 2016 14:57:23 GMT
298
- recorded_with: VCR 3.0.3
@@ -1,808 +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
- - '4702'
31
- X-Request-Id:
32
- - 709c72ea-d093-4ea6-8135-fb29d2da7cab
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:43:52 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-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=e73f5910ca","beamer_address":"us11-6692a2b3c3-bcd2a8b144@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":2,"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-06-27T14:50:39+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-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 14:43:52 GMT
62
- - request:
63
- method: get
64
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists?count=500&exclude_fields=lists._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
- - '4703'
90
- X-Request-Id:
91
- - 0b84ca4b-d69c-45a4-ab89-ae996994b07b
92
- Link:
93
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Collection.json>; rel="describedBy"
94
- Vary:
95
- - Accept-Encoding
96
- Date:
97
- - Thu, 04 Aug 2016 14:43:53 GMT
98
- Connection:
99
- - keep-alive
100
- Set-Cookie:
101
- - _AVESTA_ENVIRONMENT=prod; path=/
102
- body:
103
- encoding: ASCII-8BIT
104
- string: '{"lists":[{"id":"e73f5910ca","name":"My first list","contact":{"company":"InSite
105
- Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"","zip":"E14
106
- 7DQ","country":"GB","phone":"07917153555"},"permission_reminder":"Opt-in only","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
107
- 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-manage.com/subscribe?u=1dbca289fd41b54838bcbb501&id=e73f5910ca","beamer_address":"us11-6692a2b3c3-bcd2a8b144@inbound.mailchimp.com","visibility":"pub","modules":[],"stats":{"member_count":2,"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-06-27T14:50:39+00:00","last_unsub_date":""}},{"id":"71937ea346","name":"My
108
- second list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
109
- One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"Test
110
- list for Xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
111
- 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
112
- third list","contact":{"company":"InSite Arts","address1":"300 Burdett Road","address2":"London","city":"London","state":"Select
113
- One","zip":"E14 7DQ","country":"GB","phone":"02075372125"},"permission_reminder":"For
114
- xenapto testing","use_archive_bar":true,"campaign_defaults":{"from_name":"Sam
115
- 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":""}},{"id":"a4598b5a35","name":"API
116
- test list","contact":{"company":"administrator@xenapto.com","address1":"300
117
- Burdett Road","address2":"London","city":"London","state":"","zip":"E14 7DQ","country":"GB","phone":""},"permission_reminder":"You
118
- 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-manage1.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}'
119
- http_version:
120
- recorded_at: Thu, 04 Aug 2016 14:43:53 GMT
121
- - request:
122
- method: get
123
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
124
- body:
125
- encoding: US-ASCII
126
- string: ''
127
- headers:
128
- Accept:
129
- - "*/*; q=0.5, application/xml"
130
- Accept-Encoding:
131
- - gzip, deflate
132
- User-Agent:
133
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
134
- Authorization:
135
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
136
- Host:
137
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
138
- response:
139
- status:
140
- code: 200
141
- message: OK
142
- headers:
143
- Server:
144
- - nginx
145
- Content-Type:
146
- - application/json; charset=utf-8
147
- Content-Length:
148
- - '1260'
149
- X-Request-Id:
150
- - b965a8f4-8bdb-43ba-921e-93fcad9a6e9a
151
- Link:
152
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
153
- rel="describedBy"
154
- Vary:
155
- - Accept-Encoding
156
- Date:
157
- - Thu, 04 Aug 2016 14:43:53 GMT
158
- Connection:
159
- - keep-alive
160
- Set-Cookie:
161
- - _AVESTA_ENVIRONMENT=prod; path=/
162
- body:
163
- encoding: ASCII-8BIT
164
- string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":2}'
165
- http_version:
166
- recorded_at: Thu, 04 Aug 2016 14:43:53 GMT
167
- - request:
168
- method: get
169
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
170
- body:
171
- encoding: US-ASCII
172
- string: ''
173
- headers:
174
- Accept:
175
- - "*/*; q=0.5, application/xml"
176
- Accept-Encoding:
177
- - gzip, deflate
178
- User-Agent:
179
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
180
- Authorization:
181
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
182
- Host:
183
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
184
- response:
185
- status:
186
- code: 200
187
- message: OK
188
- headers:
189
- Server:
190
- - nginx
191
- Content-Type:
192
- - application/json; charset=utf-8
193
- Content-Length:
194
- - '1260'
195
- X-Request-Id:
196
- - 99c3a824-e7e5-4246-a53f-3972bf26a3bb
197
- Link:
198
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
199
- rel="describedBy"
200
- Vary:
201
- - Accept-Encoding
202
- Date:
203
- - Thu, 04 Aug 2016 14:43:53 GMT
204
- Connection:
205
- - keep-alive
206
- Set-Cookie:
207
- - _AVESTA_ENVIRONMENT=prod; path=/
208
- body:
209
- encoding: ASCII-8BIT
210
- string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":2}'
211
- http_version:
212
- recorded_at: Thu, 04 Aug 2016 14:43:53 GMT
213
- - request:
214
- method: post
215
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members
216
- body:
217
- encoding: UTF-8
218
- string: '{"merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"email_address":"cat@sayers.cc","status":"subscribed"}'
219
- headers:
220
- Accept:
221
- - "*/*; q=0.5, application/xml"
222
- Accept-Encoding:
223
- - gzip, deflate
224
- User-Agent:
225
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
226
- Authorization:
227
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
228
- Content-Length:
229
- - '103'
230
- Host:
231
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
232
- response:
233
- status:
234
- code: 200
235
- message: OK
236
- headers:
237
- Server:
238
- - nginx
239
- Content-Type:
240
- - application/json; charset=utf-8
241
- Content-Length:
242
- - '2390'
243
- X-Request-Id:
244
- - 9833c053-64a1-40c8-bb57-e6d507b3f5d4
245
- Link:
246
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
247
- <https://us11.admin.mailchimp.com/lists/members/view?id=66329425>; rel="dashboard"
248
- Vary:
249
- - Accept-Encoding
250
- Date:
251
- - Thu, 04 Aug 2016 14:43:53 GMT
252
- Connection:
253
- - keep-alive
254
- Set-Cookie:
255
- - _AVESTA_ENVIRONMENT=prod; path=/
256
- body:
257
- encoding: ASCII-8BIT
258
- string: '{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca","_links":[{"rel":"self","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"parent","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json"},{"rel":"update","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"PATCH","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"upsert","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"PUT","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"delete","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb","method":"DELETE"},{"rel":"activity","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/activity","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Activity/Collection.json"},{"rel":"goals","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/goals","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Goals/Collection.json"},{"rel":"notes","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb/notes","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
259
- http_version:
260
- recorded_at: Thu, 04 Aug 2016 14:43:53 GMT
261
- - request:
262
- method: get
263
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
264
- body:
265
- encoding: US-ASCII
266
- string: ''
267
- headers:
268
- Accept:
269
- - "*/*; q=0.5, application/xml"
270
- Accept-Encoding:
271
- - gzip, deflate
272
- User-Agent:
273
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
274
- Authorization:
275
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
276
- Host:
277
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
278
- response:
279
- status:
280
- code: 200
281
- message: OK
282
- headers:
283
- Server:
284
- - nginx
285
- Content-Type:
286
- - application/json; charset=utf-8
287
- Content-Length:
288
- - '1863'
289
- X-Request-Id:
290
- - 830d635a-63ac-4c36-81f4-03c6184e0cac
291
- Link:
292
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
293
- rel="describedBy"
294
- Vary:
295
- - Accept-Encoding
296
- Date:
297
- - Thu, 04 Aug 2016 14:43:54 GMT
298
- Connection:
299
- - keep-alive
300
- Set-Cookie:
301
- - _AVESTA_ENVIRONMENT=prod; path=/
302
- body:
303
- encoding: ASCII-8BIT
304
- string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
305
- http_version:
306
- recorded_at: Thu, 04 Aug 2016 14:43:54 GMT
307
- - request:
308
- method: post
309
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members
310
- body:
311
- encoding: UTF-8
312
- string: '{"merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"email_address":"cat@sayers.cc","status":"subscribed"}'
313
- headers:
314
- Accept:
315
- - "*/*; q=0.5, application/xml"
316
- Accept-Encoding:
317
- - gzip, deflate
318
- User-Agent:
319
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
320
- Authorization:
321
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
322
- Content-Length:
323
- - '103'
324
- Host:
325
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
326
- response:
327
- status:
328
- code: 400
329
- message: Bad Request
330
- headers:
331
- Server:
332
- - nginx
333
- Content-Type:
334
- - application/problem+json; charset=utf-8
335
- Content-Length:
336
- - '219'
337
- X-Request-Id:
338
- - 9e412445-899b-4341-85c0-0907ee2a7c0f
339
- Link:
340
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/ProblemDetailDocument.json>; rel="describedBy"
341
- Vary:
342
- - Accept-Encoding
343
- Date:
344
- - Thu, 04 Aug 2016 14:43:54 GMT
345
- Connection:
346
- - close
347
- Set-Cookie:
348
- - _AVESTA_ENVIRONMENT=prod; path=/
349
- body:
350
- encoding: ASCII-8BIT
351
- string: '{"type":"http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/","title":"Member
352
- Exists","status":400,"detail":" is already a list member. Use PUT to insert
353
- or update list members.","instance":""}'
354
- http_version:
355
- recorded_at: Thu, 04 Aug 2016 14:43:54 GMT
356
- - request:
357
- method: get
358
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
359
- body:
360
- encoding: US-ASCII
361
- string: ''
362
- headers:
363
- Accept:
364
- - "*/*; q=0.5, application/xml"
365
- Accept-Encoding:
366
- - gzip, deflate
367
- User-Agent:
368
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
369
- Authorization:
370
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
371
- Host:
372
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
373
- response:
374
- status:
375
- code: 200
376
- message: OK
377
- headers:
378
- Server:
379
- - nginx
380
- Content-Type:
381
- - application/json; charset=utf-8
382
- Content-Length:
383
- - '1863'
384
- X-Request-Id:
385
- - 6d3c2431-c2e7-4ecb-91ca-0ddda78cfbdf
386
- Link:
387
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
388
- rel="describedBy"
389
- Vary:
390
- - Accept-Encoding
391
- Date:
392
- - Thu, 04 Aug 2016 14:43:54 GMT
393
- Connection:
394
- - keep-alive
395
- Set-Cookie:
396
- - _AVESTA_ENVIRONMENT=prod; path=/
397
- body:
398
- encoding: ASCII-8BIT
399
- string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
400
- http_version:
401
- recorded_at: Thu, 04 Aug 2016 14:43:54 GMT
402
- - request:
403
- method: get
404
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
405
- body:
406
- encoding: US-ASCII
407
- string: ''
408
- headers:
409
- Accept:
410
- - "*/*; q=0.5, application/xml"
411
- Accept-Encoding:
412
- - gzip, deflate
413
- User-Agent:
414
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
415
- Authorization:
416
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
417
- Host:
418
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
419
- response:
420
- status:
421
- code: 200
422
- message: OK
423
- headers:
424
- Server:
425
- - nginx
426
- Content-Type:
427
- - application/json; charset=utf-8
428
- Content-Length:
429
- - '1863'
430
- X-Request-Id:
431
- - 23f55636-0e8f-4c19-b5ae-79cd6603c66e
432
- Link:
433
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
434
- rel="describedBy"
435
- Vary:
436
- - Accept-Encoding
437
- Date:
438
- - Thu, 04 Aug 2016 14:43:54 GMT
439
- Connection:
440
- - keep-alive
441
- Set-Cookie:
442
- - _AVESTA_ENVIRONMENT=prod; path=/
443
- body:
444
- encoding: ASCII-8BIT
445
- string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
446
- http_version:
447
- recorded_at: Thu, 04 Aug 2016 14:43:54 GMT
448
- - request:
449
- method: get
450
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
451
- body:
452
- encoding: US-ASCII
453
- string: ''
454
- headers:
455
- Accept:
456
- - "*/*; q=0.5, application/xml"
457
- Accept-Encoding:
458
- - gzip, deflate
459
- User-Agent:
460
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
461
- Authorization:
462
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
463
- Host:
464
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
465
- response:
466
- status:
467
- code: 200
468
- message: OK
469
- headers:
470
- Server:
471
- - nginx
472
- Content-Type:
473
- - application/json; charset=utf-8
474
- Content-Length:
475
- - '1863'
476
- X-Request-Id:
477
- - a86d56b8-8b43-4c05-9434-d8c97dfd3684
478
- Link:
479
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
480
- rel="describedBy"
481
- Vary:
482
- - Accept-Encoding
483
- Date:
484
- - Thu, 04 Aug 2016 14:43:55 GMT
485
- Connection:
486
- - keep-alive
487
- Set-Cookie:
488
- - _AVESTA_ENVIRONMENT=prod; path=/
489
- body:
490
- encoding: ASCII-8BIT
491
- string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
492
- http_version:
493
- recorded_at: Thu, 04 Aug 2016 14:43:55 GMT
494
- - request:
495
- method: get
496
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
497
- body:
498
- encoding: US-ASCII
499
- string: ''
500
- headers:
501
- Accept:
502
- - "*/*; q=0.5, application/xml"
503
- Accept-Encoding:
504
- - gzip, deflate
505
- User-Agent:
506
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
507
- Authorization:
508
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
509
- Host:
510
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
511
- response:
512
- status:
513
- code: 200
514
- message: OK
515
- headers:
516
- Server:
517
- - nginx
518
- Content-Type:
519
- - application/json; charset=utf-8
520
- Content-Length:
521
- - '1863'
522
- X-Request-Id:
523
- - 876e2102-2568-4b9c-b87c-e8b4a06c2ce2
524
- Link:
525
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
526
- rel="describedBy"
527
- Vary:
528
- - Accept-Encoding
529
- Date:
530
- - Thu, 04 Aug 2016 14:43:55 GMT
531
- Connection:
532
- - keep-alive
533
- Set-Cookie:
534
- - _AVESTA_ENVIRONMENT=prod; path=/
535
- body:
536
- encoding: ASCII-8BIT
537
- string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
538
- http_version:
539
- recorded_at: Thu, 04 Aug 2016 14:43:55 GMT
540
- - request:
541
- method: get
542
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
543
- body:
544
- encoding: US-ASCII
545
- string: ''
546
- headers:
547
- Accept:
548
- - "*/*; q=0.5, application/xml"
549
- Accept-Encoding:
550
- - gzip, deflate
551
- User-Agent:
552
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
553
- Authorization:
554
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
555
- Host:
556
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
557
- response:
558
- status:
559
- code: 200
560
- message: OK
561
- headers:
562
- Server:
563
- - nginx
564
- Content-Type:
565
- - application/json; charset=utf-8
566
- Content-Length:
567
- - '1863'
568
- X-Request-Id:
569
- - 00677a37-0460-4485-98c8-93dd24f98665
570
- Link:
571
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
572
- rel="describedBy"
573
- Vary:
574
- - Accept-Encoding
575
- Date:
576
- - Thu, 04 Aug 2016 14:43:55 GMT
577
- Connection:
578
- - keep-alive
579
- Set-Cookie:
580
- - _AVESTA_ENVIRONMENT=prod; path=/
581
- body:
582
- encoding: ASCII-8BIT
583
- string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"b84d50ba2a40fdbca8e2771b9a5b94fb","email_address":"cat@sayers.cc","unique_email_id":"223c7a01d2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Cat","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:43:53+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:53+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":3}'
584
- http_version:
585
- recorded_at: Thu, 04 Aug 2016 14:43:55 GMT
586
- - request:
587
- method: delete
588
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/b84d50ba2a40fdbca8e2771b9a5b94fb
589
- body:
590
- encoding: US-ASCII
591
- string: ''
592
- headers:
593
- Accept:
594
- - "*/*; q=0.5, application/xml"
595
- Accept-Encoding:
596
- - gzip, deflate
597
- User-Agent:
598
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
599
- Authorization:
600
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
601
- Host:
602
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
603
- response:
604
- status:
605
- code: 204
606
- message: No Content
607
- headers:
608
- Server:
609
- - nginx
610
- Content-Type:
611
- - application/json; charset=utf-8
612
- Content-Length:
613
- - '0'
614
- X-Request-Id:
615
- - 317df8c1-63fb-4faf-8d9b-5aa025cdfb61
616
- Date:
617
- - Thu, 04 Aug 2016 14:43:55 GMT
618
- Connection:
619
- - keep-alive
620
- Set-Cookie:
621
- - _AVESTA_ENVIRONMENT=prod; path=/
622
- body:
623
- encoding: UTF-8
624
- string: ''
625
- http_version:
626
- recorded_at: Thu, 04 Aug 2016 14:43:55 GMT
627
- - request:
628
- method: get
629
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
630
- body:
631
- encoding: US-ASCII
632
- string: ''
633
- headers:
634
- Accept:
635
- - "*/*; q=0.5, application/xml"
636
- Accept-Encoding:
637
- - gzip, deflate
638
- User-Agent:
639
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
640
- Authorization:
641
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
642
- Host:
643
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
644
- response:
645
- status:
646
- code: 200
647
- message: OK
648
- headers:
649
- Server:
650
- - nginx
651
- Content-Type:
652
- - application/json; charset=utf-8
653
- Content-Length:
654
- - '1260'
655
- X-Request-Id:
656
- - 383127e2-76ff-4f6b-aaa8-1fdc359b0fd8
657
- Link:
658
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
659
- rel="describedBy"
660
- Vary:
661
- - Accept-Encoding
662
- Date:
663
- - Thu, 04 Aug 2016 14:43:56 GMT
664
- Connection:
665
- - keep-alive
666
- Set-Cookie:
667
- - _AVESTA_ENVIRONMENT=prod; path=/
668
- body:
669
- encoding: ASCII-8BIT
670
- string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":2}'
671
- http_version:
672
- recorded_at: Thu, 04 Aug 2016 14:43:56 GMT
673
- - request:
674
- method: get
675
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members?count=500&exclude_fields=members._links,_links&offset=0
676
- body:
677
- encoding: US-ASCII
678
- string: ''
679
- headers:
680
- Accept:
681
- - "*/*; q=0.5, application/xml"
682
- Accept-Encoding:
683
- - gzip, deflate
684
- User-Agent:
685
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
686
- Authorization:
687
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
688
- Host:
689
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
690
- response:
691
- status:
692
- code: 200
693
- message: OK
694
- headers:
695
- Server:
696
- - nginx
697
- Content-Type:
698
- - application/json; charset=utf-8
699
- Content-Length:
700
- - '1260'
701
- X-Request-Id:
702
- - aa66419b-a893-4424-a5d0-71f972ca21a0
703
- Link:
704
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
705
- rel="describedBy"
706
- Vary:
707
- - Accept-Encoding
708
- Date:
709
- - Thu, 04 Aug 2016 14:43:56 GMT
710
- Connection:
711
- - keep-alive
712
- Set-Cookie:
713
- - _AVESTA_ENVIRONMENT=prod; path=/
714
- body:
715
- encoding: ASCII-8BIT
716
- string: '{"members":[{"id":"140b91c107d2058dee730e75be0b1151","email_address":"ann@sayers.cc","unique_email_id":"37a55cdc48","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Ann","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:15+00:00","member_rating":2,"last_changed":"2015-07-07T12:05:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"},{"id":"a81216d35b4cbfa18632867228be02da","email_address":"bob@sayers.cc","unique_email_id":"3f73c23e26","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Bob","LNAME":"Example"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"86.163.13.133","timestamp_opt":"2015-06-27T14:50:39+00:00","member_rating":2,"last_changed":"2015-06-27T14:50:39+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca"}],"list_id":"e73f5910ca","total_items":2}'
717
- http_version:
718
- recorded_at: Thu, 04 Aug 2016 14:43:56 GMT
719
- - request:
720
- method: post
721
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members
722
- body:
723
- encoding: UTF-8
724
- string: '{"merge_fields":{"FNAME":"Dan","LNAME":"Sayers"},"email_address":"dan@sayers.cc","status":"subscribed"}'
725
- headers:
726
- Accept:
727
- - "*/*; q=0.5, application/xml"
728
- Accept-Encoding:
729
- - gzip, deflate
730
- User-Agent:
731
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
732
- Authorization:
733
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
734
- Content-Length:
735
- - '103'
736
- Host:
737
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
738
- response:
739
- status:
740
- code: 200
741
- message: OK
742
- headers:
743
- Server:
744
- - nginx
745
- Content-Type:
746
- - application/json; charset=utf-8
747
- Content-Length:
748
- - '2390'
749
- X-Request-Id:
750
- - 38f638cb-16d8-44d8-ac2a-c96381417004
751
- Link:
752
- - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json>; rel="describedBy",
753
- <https://us11.admin.mailchimp.com/lists/members/view?id=180041613>; rel="dashboard"
754
- Vary:
755
- - Accept-Encoding
756
- Date:
757
- - Thu, 04 Aug 2016 14:43:56 GMT
758
- Connection:
759
- - keep-alive
760
- Set-Cookie:
761
- - _AVESTA_ENVIRONMENT=prod; path=/
762
- body:
763
- encoding: ASCII-8BIT
764
- string: '{"id":"f13a19513506757bac3b57e4c01a68fe","email_address":"dan@sayers.cc","unique_email_id":"4e8808dbf8","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Dan","LNAME":"Sayers"},"interests":{"4e52548ea0":false},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"","ip_opt":"85.92.193.106","timestamp_opt":"2016-08-04T14:43:56+00:00","member_rating":2,"last_changed":"2016-08-04T14:43:56+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"e73f5910ca","_links":[{"rel":"self","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/f13a19513506757bac3b57e4c01a68fe","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"parent","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/CollectionLinks/Lists/Members.json"},{"rel":"update","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/f13a19513506757bac3b57e4c01a68fe","method":"PATCH","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"upsert","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/f13a19513506757bac3b57e4c01a68fe","method":"PUT","schema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Instance.json"},{"rel":"delete","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/f13a19513506757bac3b57e4c01a68fe","method":"DELETE"},{"rel":"activity","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/f13a19513506757bac3b57e4c01a68fe/activity","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Activity/Collection.json"},{"rel":"goals","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/f13a19513506757bac3b57e4c01a68fe/goals","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Goals/Collection.json"},{"rel":"notes","href":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/f13a19513506757bac3b57e4c01a68fe/notes","method":"GET","targetSchema":"https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Notes/Collection.json"}]}'
765
- http_version:
766
- recorded_at: Thu, 04 Aug 2016 14:43:56 GMT
767
- - request:
768
- method: delete
769
- uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/e73f5910ca/members/f13a19513506757bac3b57e4c01a68fe
770
- body:
771
- encoding: US-ASCII
772
- string: ''
773
- headers:
774
- Accept:
775
- - "*/*; q=0.5, application/xml"
776
- Accept-Encoding:
777
- - gzip, deflate
778
- User-Agent:
779
- - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
780
- Authorization:
781
- - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
782
- Host:
783
- - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
784
- response:
785
- status:
786
- code: 204
787
- message: No Content
788
- headers:
789
- Server:
790
- - nginx
791
- Content-Type:
792
- - application/json; charset=utf-8
793
- Content-Length:
794
- - '0'
795
- X-Request-Id:
796
- - 6bd368a8-aa47-4fa7-ba37-14641abbed9c
797
- Date:
798
- - Thu, 04 Aug 2016 14:43:56 GMT
799
- Connection:
800
- - keep-alive
801
- Set-Cookie:
802
- - _AVESTA_ENVIRONMENT=prod; path=/
803
- body:
804
- encoding: UTF-8
805
- string: ''
806
- http_version:
807
- recorded_at: Thu, 04 Aug 2016 14:43:56 GMT
808
- recorded_with: VCR 3.0.3