--- http_interactions: - request: method: post uri: https://api:@api.mailgun.net/v3/lists body: encoding: US-ASCII string: address=integration_test_list%40DOMAIN.TEST&name=Integration%20Test%20List&description=This%20list%20should%20be%20deleted%20automatically.&access_level=members headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Content-Length: - '195' Content-Type: - application/x-www-form-urlencoded User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Fri, 08 Jan 2016 20:20:43 GMT Content-Type: - application/json Content-Length: - '361' Connection: - keep-alive Content-Disposition: - inline Access-Control-Allow-Origin: - "*" Access-Control-Max-Age: - '600' Access-Control-Allow-Methods: - GET, POST, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: - Content-Type, x-requested-with body: encoding: UTF-8 string: |- { "list": { "access_level": "members", "address": "integration_test_list@DOMAIN.TEST", "created_at": "Fri, 08 Jan 2016 20:20:43 -0000", "description": "This list should be deleted automatically.", "members_count": 0, "name": "Integration Test List" }, "message": "Mailing list has been created" } http_version: recorded_at: Fri, 08 Jan 2016 20:20:43 GMT - request: method: post uri: https://api:@api.mailgun.net/v3/lists/integration_test_list@DOMAIN.TEST/members body: encoding: US-ASCII string: address=integration_test_member_member%40DOMAIN.TEST&name=Jane%20Doe&subscribed=true&upsert=no headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Content-Length: - '129' Content-Type: - application/x-www-form-urlencoded User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Fri, 08 Jan 2016 20:20:43 GMT Content-Type: - application/json Content-Length: - '233' Connection: - keep-alive Content-Disposition: - inline Access-Control-Allow-Origin: - "*" Access-Control-Max-Age: - '600' Access-Control-Allow-Methods: - GET, POST, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: - Content-Type, x-requested-with body: encoding: UTF-8 string: |- { "member": { "address": "integration_test_member_member@DOMAIN.TEST", "name": "Jane Doe", "subscribed": true, "vars": {} }, "message": "Mailing list member has been created" } http_version: recorded_at: Fri, 08 Jan 2016 20:20:44 GMT - request: method: get uri: https://api:@api.mailgun.net/v3/lists/integration_test_list@DOMAIN.TEST/members/integration_test_member_member@DOMAIN.TEST body: encoding: US-ASCII string: '' headers: Accept: - "*/*" Accept-Encoding: - gzip, deflate User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Fri, 08 Jan 2016 20:20:43 GMT Content-Type: - application/json Content-Length: - '180' Connection: - keep-alive Content-Disposition: - inline Access-Control-Allow-Origin: - "*" Access-Control-Max-Age: - '600' Access-Control-Allow-Methods: - GET, POST, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: - Content-Type, x-requested-with body: encoding: UTF-8 string: |- { "member": { "address": "integration_test_member_member@DOMAIN.TEST", "name": "Jane Doe", "subscribed": true, "vars": {} } } http_version: recorded_at: Fri, 08 Jan 2016 20:20:44 GMT - request: method: put uri: https://api:@api.mailgun.net/v3/lists/integration_test_list@DOMAIN.TEST/members/integration_test_member_member@DOMAIN.TEST body: encoding: US-ASCII string: name=Jane%20Doe%20Update&subscribed=false headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Content-Length: - '41' Content-Type: - application/x-www-form-urlencoded User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Fri, 08 Jan 2016 20:20:44 GMT Content-Type: - application/json Content-Length: - '241' Connection: - keep-alive Content-Disposition: - inline Access-Control-Allow-Origin: - "*" Access-Control-Max-Age: - '600' Access-Control-Allow-Methods: - GET, POST, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: - Content-Type, x-requested-with body: encoding: UTF-8 string: |- { "member": { "address": "integration_test_member_member@DOMAIN.TEST", "name": "Jane Doe Update", "subscribed": false, "vars": {} }, "message": "Mailing list member has been updated" } http_version: recorded_at: Fri, 08 Jan 2016 20:20:44 GMT - request: method: delete uri: https://api:@api.mailgun.net/v3/lists/integration_test_list@DOMAIN.TEST/members/integration_test_member_member@DOMAIN.TEST body: encoding: US-ASCII string: '' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Fri, 08 Jan 2016 20:20:44 GMT Content-Type: - application/json Content-Length: - '169' Connection: - keep-alive Content-Disposition: - inline Access-Control-Allow-Origin: - "*" Access-Control-Max-Age: - '600' Access-Control-Allow-Methods: - GET, POST, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: - Content-Type, x-requested-with body: encoding: UTF-8 string: |- { "member": { "address": "integration_test_member_member@DOMAIN.TEST" }, "message": "Mailing list member has been deleted" } http_version: recorded_at: Fri, 08 Jan 2016 20:20:44 GMT - request: method: delete uri: https://api:@api.mailgun.net/v3/lists/integration_test_list@DOMAIN.TEST body: encoding: US-ASCII string: '' headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Fri, 08 Jan 2016 20:20:44 GMT Content-Type: - application/json Content-Length: - '133' Connection: - keep-alive Content-Disposition: - inline Access-Control-Allow-Origin: - "*" Access-Control-Max-Age: - '600' Access-Control-Allow-Methods: - GET, POST, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: - Content-Type, x-requested-with body: encoding: UTF-8 string: |- { "address": "integration_test_list@DOMAIN.TEST", "message": "Mailing list has been removed" } http_version: recorded_at: Fri, 08 Jan 2016 20:20:45 GMT recorded_with: VCR 3.0.1