mailchimp_api_v3 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
  http_interactions:
3
3
  - request:
4
4
  method: get
5
- uri: https://us11.api.mailchimp.com/3.0/lists?count=500&exclude_fields=lists._links,_links&offset=0
5
+ uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists?count=500&exclude_fields=lists._links,_links&offset=0
6
6
  body:
7
7
  encoding: US-ASCII
8
8
  string: ''
@@ -14,9 +14,9 @@ http_interactions:
14
14
  User-Agent:
15
15
  - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
16
16
  Authorization:
17
- - apikey 4e17ffe30d01da94c1615c4b587b3732-us11
17
+ - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
18
18
  Host:
19
- - us11.api.mailchimp.com
19
+ - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
20
20
  response:
21
21
  status:
22
22
  code: 200
@@ -31,7 +31,7 @@ http_interactions:
31
31
  X-Request-Id:
32
32
  - b86d7bba-6002-41fa-a998-bb794bc81210
33
33
  Link:
34
- - <https://us11.api.mailchimp.com/schema/3.0/Lists/Collection.json>; rel="describedBy"
34
+ - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Collection.json>; rel="describedBy"
35
35
  Vary:
36
36
  - Accept-Encoding
37
37
  Date:
@@ -57,11 +57,11 @@ http_interactions:
57
57
  test list","contact":{"company":"administrator@xenapto.com","address1":"300
58
58
  Burdett Road","address2":"London","city":"London","state":"","zip":"E14 7DQ","country":"GB","phone":""},"permission_reminder":"You
59
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:
60
+ http_version:
61
61
  recorded_at: Thu, 04 Aug 2016 14:39:50 GMT
62
62
  - request:
63
63
  method: get
64
- uri: https://us11.api.mailchimp.com/3.0/lists?count=500&exclude_fields=lists._links,_links&offset=0
64
+ uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists?count=500&exclude_fields=lists._links,_links&offset=0
65
65
  body:
66
66
  encoding: US-ASCII
67
67
  string: ''
@@ -73,9 +73,9 @@ http_interactions:
73
73
  User-Agent:
74
74
  - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
75
75
  Authorization:
76
- - apikey 4e17ffe30d01da94c1615c4b587b3732-us11
76
+ - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
77
77
  Host:
78
- - us11.api.mailchimp.com
78
+ - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
79
79
  response:
80
80
  status:
81
81
  code: 200
@@ -90,7 +90,7 @@ http_interactions:
90
90
  X-Request-Id:
91
91
  - e82b44b1-0969-4922-be0e-428bbf29783a
92
92
  Link:
93
- - <https://us11.api.mailchimp.com/schema/3.0/Lists/Collection.json>; rel="describedBy"
93
+ - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Collection.json>; rel="describedBy"
94
94
  Vary:
95
95
  - Accept-Encoding
96
96
  Date:
@@ -116,11 +116,11 @@ http_interactions:
116
116
  test list","contact":{"company":"administrator@xenapto.com","address1":"300
117
117
  Burdett Road","address2":"London","city":"London","state":"","zip":"E14 7DQ","country":"GB","phone":""},"permission_reminder":"You
118
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-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}'
119
- http_version:
119
+ http_version:
120
120
  recorded_at: Thu, 04 Aug 2016 14:39:51 GMT
121
121
  - request:
122
122
  method: get
123
- uri: https://us11.api.mailchimp.com/3.0/lists/a4598b5a35/members?count=10&exclude_fields=members._links,_links&offset=0
123
+ uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/a4598b5a35/members?count=10&exclude_fields=members._links,_links&offset=0
124
124
  body:
125
125
  encoding: US-ASCII
126
126
  string: ''
@@ -132,9 +132,9 @@ http_interactions:
132
132
  User-Agent:
133
133
  - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
134
134
  Authorization:
135
- - apikey 4e17ffe30d01da94c1615c4b587b3732-us11
135
+ - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
136
136
  Host:
137
- - us11.api.mailchimp.com
137
+ - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
138
138
  response:
139
139
  status:
140
140
  code: 200
@@ -149,7 +149,7 @@ http_interactions:
149
149
  X-Request-Id:
150
150
  - 3c8355b9-69de-47d5-9e28-39467c121f97
151
151
  Link:
152
- - <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
152
+ - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
153
153
  rel="describedBy"
154
154
  Vary:
155
155
  - Accept-Encoding
@@ -164,11 +164,11 @@ http_interactions:
164
164
  string: '{"members":[{"id":"f2b1659ef11eaad1c6f5550e758cf3e8","email_address":"administrator@xenapto.com","unique_email_id":"d49ce42876","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Xenapto","LNAME":"Administrator","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:57+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:13+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"8a5072384679d1ed9b102ba569544247","email_address":"dominic@sayers.cc","unique_email_id":"e97ef944ff","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Dominic","LNAME":"Sayers","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:57+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:13+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"6490c0b1c340940439023b620f8f76ec","email_address":"developers@xenapto.com","unique_email_id":"1af84da129","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Xenapto","LNAME":"Developer","MMERGE3":"Series
165
165
  A","MMERGE4":"Radar, Fintech","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"185.53.227.185","timestamp_opt":"2015-06-30T13:00:06+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"e91fd4a11dc06ad5fde4b9b6557b4842","email_address":"developer1@xenapto.com","unique_email_id":"f27fb92cfc","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Xenapto","LNAME":"Developer","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"185.53.227.185","timestamp_opt":"2015-06-30T13:03:23+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"38ca1d94861aab4c0682dda9df6c0eba","email_address":"buddy.beatty@cummerata.info","unique_email_id":"fb6b076429","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Alaina","LNAME":"Rippin","MMERGE3":"","MMERGE4":"Pipeline,
166
166
  plobbo, some, tags","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T11:11:25+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"2cb86948c3f1d5f19e2dc161832a724d","email_address":"mohr_gibson_and_marks@conngulgowski.biz","unique_email_id":"eed5a3ba08","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Gibson,","LNAME":"Mohr","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:15+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"091be666198eca9a033afe5965a91614","email_address":"schuster.and.jenkins.waelchi@kub.net","unique_email_id":"2f7ae1085a","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Waelchi,","LNAME":"Jenkins","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:18+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"14f0ac91175b56358216fb188dbcb172","email_address":"watsica.schultz@koch.com","unique_email_id":"c0f124f9b9","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Watsica-Schultz","LNAME":"","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:20+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"51e406808dbe99ab0e42999440fa0ead","email_address":"lon@leannontreutel.net","unique_email_id":"c0317128af","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Merl","LNAME":"Sipes","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:21+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"4f4affc34b6854896df3a42b3f718a52","email_address":"lizeth@wizabode.org","unique_email_id":"acfbb96e3e","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Myriam","LNAME":"Mayert","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:25+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"}],"list_id":"a4598b5a35","total_items":19}'
167
- http_version:
167
+ http_version:
168
168
  recorded_at: Thu, 04 Aug 2016 14:40:15 GMT
169
169
  - request:
170
170
  method: get
171
- uri: https://us11.api.mailchimp.com/3.0/lists/a4598b5a35/members?count=10&exclude_fields=members._links,_links&offset=0
171
+ uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/a4598b5a35/members?count=10&exclude_fields=members._links,_links&offset=0
172
172
  body:
173
173
  encoding: US-ASCII
174
174
  string: ''
@@ -180,9 +180,9 @@ http_interactions:
180
180
  User-Agent:
181
181
  - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
182
182
  Authorization:
183
- - apikey 4e17ffe30d01da94c1615c4b587b3732-us11
183
+ - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
184
184
  Host:
185
- - us11.api.mailchimp.com
185
+ - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
186
186
  response:
187
187
  status:
188
188
  code: 200
@@ -197,7 +197,7 @@ http_interactions:
197
197
  X-Request-Id:
198
198
  - 30872427-48ba-4100-9c0d-32367dbddf72
199
199
  Link:
200
- - <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
200
+ - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
201
201
  rel="describedBy"
202
202
  Vary:
203
203
  - Accept-Encoding
@@ -212,11 +212,11 @@ http_interactions:
212
212
  string: '{"members":[{"id":"f2b1659ef11eaad1c6f5550e758cf3e8","email_address":"administrator@xenapto.com","unique_email_id":"d49ce42876","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Xenapto","LNAME":"Administrator","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:57+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:13+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:57+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"8a5072384679d1ed9b102ba569544247","email_address":"dominic@sayers.cc","unique_email_id":"e97ef944ff","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Dominic","LNAME":"Sayers","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:57+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:13+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"6490c0b1c340940439023b620f8f76ec","email_address":"developers@xenapto.com","unique_email_id":"1af84da129","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Xenapto","LNAME":"Developer","MMERGE3":"Series
213
213
  A","MMERGE4":"Radar, Fintech","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"185.53.227.185","timestamp_opt":"2015-06-30T13:00:06+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"e91fd4a11dc06ad5fde4b9b6557b4842","email_address":"developer1@xenapto.com","unique_email_id":"f27fb92cfc","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Xenapto","LNAME":"Developer","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"185.53.227.185","timestamp_opt":"2015-06-30T13:03:23+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"38ca1d94861aab4c0682dda9df6c0eba","email_address":"buddy.beatty@cummerata.info","unique_email_id":"fb6b076429","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Alaina","LNAME":"Rippin","MMERGE3":"","MMERGE4":"Pipeline,
214
214
  plobbo, some, tags","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T11:11:25+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"2cb86948c3f1d5f19e2dc161832a724d","email_address":"mohr_gibson_and_marks@conngulgowski.biz","unique_email_id":"eed5a3ba08","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Gibson,","LNAME":"Mohr","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:15+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"091be666198eca9a033afe5965a91614","email_address":"schuster.and.jenkins.waelchi@kub.net","unique_email_id":"2f7ae1085a","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Waelchi,","LNAME":"Jenkins","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:18+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"14f0ac91175b56358216fb188dbcb172","email_address":"watsica.schultz@koch.com","unique_email_id":"c0f124f9b9","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Watsica-Schultz","LNAME":"","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:20+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"51e406808dbe99ab0e42999440fa0ead","email_address":"lon@leannontreutel.net","unique_email_id":"c0317128af","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Merl","LNAME":"Sipes","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:21+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"4f4affc34b6854896df3a42b3f718a52","email_address":"lizeth@wizabode.org","unique_email_id":"acfbb96e3e","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Myriam","LNAME":"Mayert","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:25+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"}],"list_id":"a4598b5a35","total_items":19}'
215
- http_version:
215
+ http_version:
216
216
  recorded_at: Thu, 04 Aug 2016 14:40:16 GMT
217
217
  - request:
218
218
  method: get
219
- uri: https://us11.api.mailchimp.com/3.0/lists/a4598b5a35/members?count=10&exclude_fields=members._links,_links&offset=10
219
+ uri: https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/3.0/lists/a4598b5a35/members?count=10&exclude_fields=members._links,_links&offset=10
220
220
  body:
221
221
  encoding: US-ASCII
222
222
  string: ''
@@ -228,9 +228,9 @@ http_interactions:
228
228
  User-Agent:
229
229
  - Mailchimp API v3 Ruby gem https://rubygems.org/gems/mailchimp_api_v3
230
230
  Authorization:
231
- - apikey 4e17ffe30d01da94c1615c4b587b3732-us11
231
+ - apikey <%= ENV.fetch('MAILCHIMP_API_KEY', 'vcr_playback-us11') %>
232
232
  Host:
233
- - us11.api.mailchimp.com
233
+ - <%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com
234
234
  response:
235
235
  status:
236
236
  code: 200
@@ -245,7 +245,7 @@ http_interactions:
245
245
  X-Request-Id:
246
246
  - 7b9bb407-2512-4e19-bb4d-e5c1d2f656c6
247
247
  Link:
248
- - <https://us11.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
248
+ - <https://<%= ENV.fetch('MAILCHIMP_DC', 'us11') %>.api.mailchimp.com/schema/3.0/Lists/Members/Collection.json>;
249
249
  rel="describedBy"
250
250
  Vary:
251
251
  - Accept-Encoding
@@ -259,6 +259,6 @@ http_interactions:
259
259
  encoding: ASCII-8BIT
260
260
  string: '{"members":[{"id":"d2eaff3cbe76d2505979e9f2c7aea6b4","email_address":"onie@price.net","unique_email_id":"13ed341c3e","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Yadira","LNAME":"Rempel","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:26+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"b71f2e65570031b6d9ac00ac59c4b616","email_address":"caleb@kunde.net","unique_email_id":"19575c0fbf","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Wallace","LNAME":"Bergnaum","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:28+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"a2a51efa5c67ead435f1003bb85b67e0","email_address":"diana@mayer.biz","unique_email_id":"1b2e959444","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Doris","LNAME":"Baumbach","MMERGE3":"Enim
261
261
  Deal","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:34+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"bfbecbe5bd47c54143dd93f429b4580b","email_address":"tina@gulgowskigusikowski.biz","unique_email_id":"5be427e0eb","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Katelynn","LNAME":"Swaniawski","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:36+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"bc5afa1fd53415c531529650b3bd8bef","email_address":"bernhard.schultz@waters.name","unique_email_id":"e77d7e18b2","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Lee","LNAME":"Boyer","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:43+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"6db5310391be1d3982e302aa94971387","email_address":"antonietta@torphyrutherford.name","unique_email_id":"5a36b5b9ae","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Nettie","LNAME":"Bogisich","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:45+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"de582d32026321b06ce341a3cf9f1507","email_address":"wilburn_heidenreich@connkilback.info","unique_email_id":"be8c62b5ec","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Miss","LNAME":"Elyse","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:47+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"849c121747b90b4bc472eb119c4ef2ce","email_address":"sophia@funkhilpert.net","unique_email_id":"89cfaf2901","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Orrin","LNAME":"Cronin","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:49+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"},{"id":"6c8457db988692f12af3400cf1bfb8c2","email_address":"eli@hand.name","unique_email_id":"a32648a393","email_type":"html","status":"subscribed","merge_fields":{"FNAME":"Garret","LNAME":"DuBuque","MMERGE3":"","MMERGE4":"","MMERGE5":"","MMERGE6":"2","MMERGE7":""},"stats":{"avg_open_rate":0,"avg_click_rate":0},"ip_signup":"","timestamp_signup":"2016-08-04T14:36:58+00:00","ip_opt":"86.134.195.19","timestamp_opt":"2015-11-03T14:19:51+00:00","member_rating":2,"last_changed":"2016-08-04T14:36:58+00:00","language":"","vip":false,"email_client":"","location":{"latitude":0,"longitude":0,"gmtoff":0,"dstoff":0,"country_code":"","timezone":""},"list_id":"a4598b5a35"}],"list_id":"a4598b5a35","total_items":19}'
262
- http_version:
262
+ http_version:
263
263
  recorded_at: Thu, 04 Aug 2016 14:40:16 GMT
264
264
  recorded_with: VCR 3.0.3
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mailchimp_api_v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Xenapto
@@ -227,6 +227,7 @@ files:
227
227
  - CODE_OF_CONDUCT.md
228
228
  - Gemfile
229
229
  - Guardfile
230
+ - HISTORY.md
230
231
  - LICENSE
231
232
  - README.md
232
233
  - circle.yml