--- http_interactions: - request: method: post uri: https://api:@api.mailgun.net/v3/DOMAIN.TEST/unsubscribes body: encoding: US-ASCII string: address=integration-test-email%40DOMAIN.TEST&tag=* headers: Accept: - "*/*; q=0.5, application/xml" Accept-Encoding: - gzip, deflate Content-Length: - '85' Content-Type: - application/x-www-form-urlencoded User-Agent: - Ruby response: status: code: 200 message: OK headers: Server: - nginx Date: - Fri, 08 Jan 2016 18:55:05 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '144' Connection: - keep-alive Access-Control-Allow-Origin: - "*" - "*" Access-Control-Max-Age: - '600' - '600' Access-Control-Allow-Methods: - GET, POST, PUT, DELETE, OPTIONS - GET, POST, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: - Content-Type, x-requested-with - Content-Type, x-requested-with body: encoding: UTF-8 string: '{"address":"integration-test-email@DOMAIN.TEST","message":"Address has been added to the unsubscribes table"}' http_version: recorded_at: Fri, 08 Jan 2016 18:55:05 GMT - request: method: get uri: https://api:@api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/integration-test-email@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 18:55:05 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '141' Connection: - keep-alive Access-Control-Allow-Origin: - "*" - "*" Access-Control-Max-Age: - '600' - '600' Access-Control-Allow-Methods: - GET, POST, PUT, DELETE, OPTIONS - GET, POST, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: - Content-Type, x-requested-with - Content-Type, x-requested-with body: encoding: UTF-8 string: '{"address":"integration-test-email@DOMAIN.TEST","tags":["*"],"created_at":"Fri, 08 Jan 2016 18:55:04 UTC"}' http_version: recorded_at: Fri, 08 Jan 2016 18:55:05 GMT - request: method: get uri: https://api:@api.mailgun.net/v3/DOMAIN.TEST/unsubscribes 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 18:55:27 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '812' Connection: - keep-alive Access-Control-Allow-Origin: - "*" - "*" Access-Control-Max-Age: - '600' - '600' Access-Control-Allow-Methods: - GET, POST, PUT, DELETE, OPTIONS - GET, POST, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: - Content-Type, x-requested-with - Content-Type, x-requested-with body: encoding: UTF-8 string: '{"items":[{"address":"integration-test-email@DOMAIN.TEST","tags":["*"],"created_at":"Fri, 08 Jan 2016 18:55:04 UTC"}],"paging":{"first":"https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes?limit=100","last":"https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes?page=last\u0026limit=100","next":"https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes?page=next\u0026address=integration-test-email%40DOMAIN.TEST\u0026limit=100","previous":"https://api.mailgun.net/v3/DOMAIN.TEST/unsubscribes?page=previous\u0026address=integration-test-email%40DOMAIN.TEST\u0026limit=100"}}' http_version: recorded_at: Fri, 08 Jan 2016 18:55:28 GMT - request: method: delete uri: https://api:@api.mailgun.net/v3/DOMAIN.TEST/unsubscribes/integration-test-email@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 18:55:28 GMT Content-Type: - application/json; charset=utf-8 Content-Length: - '130' Connection: - keep-alive Access-Control-Allow-Origin: - "*" - "*" Access-Control-Max-Age: - '600' - '600' Access-Control-Allow-Methods: - GET, POST, PUT, DELETE, OPTIONS - GET, POST, PUT, DELETE, OPTIONS Access-Control-Allow-Headers: - Content-Type, x-requested-with - Content-Type, x-requested-with body: encoding: UTF-8 string: '{"address":"integration-test-email@DOMAIN.TEST","message":"Unsubscribe event has been removed"}' http_version: recorded_at: Fri, 08 Jan 2016 18:55:28 GMT recorded_with: VCR 3.0.1