--- http_interactions: - request: method: post uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates body: encoding: UTF-8 string: name=test.template&description=Test&template=%7B%7Bfname%7D%7D+%7B%7Blname%7D%7D&comment=test+comment&headers=%7B%22Subject%22%3A+%22%7B%7Bsubject%7D%7D%22%7D&tag=V1 headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Content-Length: - '165' Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmFjZWM0YzA1YjFmMmZjZWJjZjY4ZGE2NDVkYTAwMjMxLTQxM2UzNzNjLTBhYWQzYzM3 response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '450' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 15:33:22 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 413e373c-0aad3c37 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"template has been stored","template":{"name":"test.template","description":"Test","createdAt":"Sun, 15 Oct 2023 15:33:22 UTC","createdBy":"","id":"b6894275-acd8-49da-ae60-04ea61f860e0","version":{"tag":"v1","template":"{{fname}} {{lname}}","engine":"handlebars","mjml":"","createdAt":"Sun, 15 Oct 2023 15:33:22 UTC","comment":"test comment","active":true,"id":"2eb9b5cf-2a5d-4b12-a3bb-74bd4ef946aa","headers":{"Subject":"{{subject}}"}}}} ' http_version: recorded_at: Sun, 15 Oct 2023 15:33:22 GMT - request: method: get uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmFjZWM0YzA1YjFmMmZjZWJjZjY4ZGE2NDVkYTAwMjMxLTQxM2UzNzNjLTBhYWQzYzM3 response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '162' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 15:37:06 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 413e373c-0aad3c37 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"template":{"name":"test.template","description":"Test","createdAt":"Sun, 15 Oct 2023 15:33:22 UTC","createdBy":"","id":"b6894275-acd8-49da-ae60-04ea61f860e0"}} ' http_version: recorded_at: Sun, 15 Oct 2023 15:37:06 GMT - request: method: put uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template body: encoding: UTF-8 string: description=Updated+Description headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Content-Length: - '31' Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmFjZWM0YzA1YjFmMmZjZWJjZjY4ZGE2NDVkYTAwMjMxLTQxM2UzNzNjLTBhYWQzYzM3 response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '76' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 15:39:57 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 413e373c-0aad3c37 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"template has been updated","template":{"name":"test.template"}} ' http_version: recorded_at: Sun, 15 Oct 2023 15:39:57 GMT - request: method: get uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmFjZWM0YzA1YjFmMmZjZWJjZjY4ZGE2NDVkYTAwMjMxLTQxM2UzNzNjLTBhYWQzYzM3 response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '1138' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:09:40 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 413e373c-0aad3c37 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"items":[{"name":"api test","description":"Petro","createdAt":"Sun, 17 Sep 2023 09:16:33 UTC","createdBy":"","id":"03474355-4818-492f-8a40-7dec43354bf9"},{"name":"petro.test","description":"Petro","createdAt":"Sun, 08 Oct 2023 13:52:28 UTC","createdBy":"","id":"1dc4114c-6eea-41df-a66c-6ad78a481629"},{"name":"test name","description":"template description","createdAt":"Sun, 17 Sep 2023 09:07:40 UTC","createdBy":"","id":"4e35b965-3151-421d-8523-4b100b8e0428"},{"name":"test.template","description":"Updated Description","createdAt":"Sun, 15 Oct 2023 15:33:22 UTC","createdBy":"","id":"b6894275-acd8-49da-ae60-04ea61f860e0"}],"paging":{"first":"https://api.mailgun.net/v3/integration-test.domain.invalid/templates?limit=100","last":"https://api.mailgun.net/v3/integration-test.domain.invalid/templates?page=last&limit=100","next":"https://api.mailgun.net/v3/integration-test.domain.invalid/templates?page=next&p=test.template&limit=100","previous":"https://api.mailgun.net/v3/integration-test.domain.invalid/templates?page=previous&p=api+test&limit=100"}} ' http_version: recorded_at: Sun, 15 Oct 2023 17:09:40 GMT - request: method: delete uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmFjZWM0YzA1YjFmMmZjZWJjZjY4ZGE2NDVkYTAwMjMxLTQxM2UzNzNjLTBhYWQzYzM3 response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '76' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:13:58 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 413e373c-0aad3c37 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"template has been deleted","template":{"name":"test.template"}} ' http_version: recorded_at: Sun, 15 Oct 2023 17:13:58 GMT - request: method: delete uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmFjZWM0YzA1YjFmMmZjZWJjZjY4ZGE2NDVkYTAwMjMxLTQxM2UzNzNjLTBhYWQzYzM3 response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '42' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:15:57 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 413e373c-0aad3c37 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"templates have been deleted"} ' http_version: recorded_at: Sun, 15 Oct 2023 17:15:57 GMT - request: method: post uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions body: encoding: UTF-8 string: template=%7B%7Bfname%7D%7D+%7B%7Blname%7D%7D&comment=test+comment&headers=%7B%22Subject%22%3A+%22%7B%7Bsubject%7D%7D%22%7D&tag=V2&active=yes headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Content-Length: - '140' Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmFjZWM0YzA1YjFmMmZjZWJjZjY4ZGE2NDVkYTAwMjMxLTQxM2UzNzNjLTBhYWQzYzM3 response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '469' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:19:10 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 413e373c-0aad3c37 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"new version of the template has been stored","template":{"name":"test.template","description":"Test","createdAt":"Sun, 15 Oct 2023 17:16:39 UTC","createdBy":"","id":"7cc6ae25-4d2c-450e-b771-b0611328b8b0","version":{"tag":"v2","template":"{{fname}} {{lname}}","engine":"handlebars","mjml":"","createdAt":"Sun, 15 Oct 2023 17:19:10 UTC","comment":"test comment","active":true,"id":"36616e31-3a79-490f-9202-4d388d67b164","headers":{"Subject":"{{subject}}"}}}} ' http_version: recorded_at: Sun, 15 Oct 2023 17:19:10 GMT - request: method: get uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions/v2 body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmFjZWM0YzA1YjFmMmZjZWJjZjY4ZGE2NDVkYTAwMjMxLTQxM2UzNzNjLTBhYWQzYzM3 response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '413' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:21:10 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 413e373c-0aad3c37 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"template":{"name":"test.template","description":"Test","createdAt":"Sun, 15 Oct 2023 17:16:39 UTC","createdBy":"","id":"7cc6ae25-4d2c-450e-b771-b0611328b8b0","version":{"tag":"v2","template":"{{fname}} {{lname}}","engine":"handlebars","mjml":"","createdAt":"Sun, 15 Oct 2023 17:19:10 UTC","comment":"test comment","active":true,"id":"36616e31-3a79-490f-9202-4d388d67b164","headers":{"Subject":"{{subject}}"}}}} ' http_version: recorded_at: Sun, 15 Oct 2023 17:21:10 GMT - request: method: put uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions/v2 body: encoding: UTF-8 string: template=%7B%7Bfname%7D%7D+%7B%7Blname%7D%7D&comment=test+comment+2&headers=%7B%22Subject%22%3A+%22%7B%7Bsubject%7D%7D%22%7D headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Content-Length: - '124' Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmFjZWM0YzA1YjFmMmZjZWJjZjY4ZGE2NDVkYTAwMjMxLTQxM2UzNzNjLTBhYWQzYzM3 response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '98' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:23:28 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 413e373c-0aad3c37 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"version has been updated","template":{"name":"test.template","version":{"tag":"v2"}}} ' http_version: recorded_at: Sun, 15 Oct 2023 17:23:28 GMT - request: method: get uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmFjZWM0YzA1YjFmMmZjZWJjZjY4ZGE2NDVkYTAwMjMxLTQxM2UzNzNjLTBhYWQzYzM3 response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '1106' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:26:01 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 413e373c-0aad3c37 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"template":{"name":"test.template","description":"Test","createdAt":"Sun, 15 Oct 2023 17:16:39 UTC","createdBy":"","id":"7cc6ae25-4d2c-450e-b771-b0611328b8b0","versions":[{"tag":"v1","engine":"handlebars","mjml":"","createdAt":"Sun, 15 Oct 2023 17:16:39 UTC","comment":"test comment","active":false,"id":"695f8e2c-ed36-4fb8-bed2-903afa458768"},{"tag":"v2","engine":"handlebars","mjml":"","createdAt":"Sun, 15 Oct 2023 17:19:10 UTC","comment":"test comment 2","active":true,"id":"36616e31-3a79-490f-9202-4d388d67b164"}]},"paging":{"first":"https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions?limit=100","last":"https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions?page=last&limit=100","next":"https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions?page=next&p=v2&limit=100","previous":"https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions?page=previous&p=v1&limit=100"}} ' http_version: recorded_at: Sun, 15 Oct 2023 17:26:01 GMT - request: method: delete uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions/v2 body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmFjZWM0YzA1YjFmMmZjZWJjZjY4ZGE2NDVkYTAwMjMxLTQxM2UzNzNjLTBhYWQzYzM3 response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '98' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:29:17 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 413e373c-0aad3c37 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"version has been deleted","template":{"name":"test.template","version":{"tag":"v2"}}} ' http_version: recorded_at: Sun, 15 Oct 2023 17:29:17 GMT - request: method: post uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates body: encoding: UTF-8 string: name=test.template&description=Test&template=%7B%7Bfname%7D%7D+%7B%7Blname%7D%7D&comment=test+comment&headers=%7B%22Subject%22%3A+%22%7B%7Bsubject%7D%7D%22%7D&tag=V1 headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Content-Length: - '165' Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmQ5MTViNWNkYjlhNTgzNjg1ZDhmM2ZiMWJlYzBmMjBmLTA3YmM3YjA1LWZhNDgxNmEx response: status: code: 404 message: Not Found headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '31' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:30:16 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"domain not found"} ' http_version: recorded_at: Sun, 15 Oct 2023 17:30:16 GMT - request: method: get uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmQ5MTViNWNkYjlhNTgzNjg1ZDhmM2ZiMWJlYzBmMjBmLTA3YmM3YjA1LWZhNDgxNmEx response: status: code: 404 message: Not Found headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '31' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:30:17 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"domain not found"} ' http_version: recorded_at: Sun, 15 Oct 2023 17:30:17 GMT - request: method: put uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template body: encoding: UTF-8 string: description=Updated+Description headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Content-Length: - '31' Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmQ5MTViNWNkYjlhNTgzNjg1ZDhmM2ZiMWJlYzBmMjBmLTA3YmM3YjA1LWZhNDgxNmEx response: status: code: 404 message: Not Found headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '31' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:30:18 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"domain not found"} ' http_version: recorded_at: Sun, 15 Oct 2023 17:30:18 GMT - request: method: get uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmQ5MTViNWNkYjlhNTgzNjg1ZDhmM2ZiMWJlYzBmMjBmLTA3YmM3YjA1LWZhNDgxNmEx response: status: code: 404 message: Not Found headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '31' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:30:18 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"domain not found"} ' http_version: recorded_at: Sun, 15 Oct 2023 17:30:18 GMT - request: method: delete uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmQ5MTViNWNkYjlhNTgzNjg1ZDhmM2ZiMWJlYzBmMjBmLTA3YmM3YjA1LWZhNDgxNmEx response: status: code: 404 message: Not Found headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '31' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:30:19 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"domain not found"} ' http_version: recorded_at: Sun, 15 Oct 2023 17:30:19 GMT - request: method: delete uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmQ5MTViNWNkYjlhNTgzNjg1ZDhmM2ZiMWJlYzBmMjBmLTA3YmM3YjA1LWZhNDgxNmEx response: status: code: 404 message: Not Found headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '31' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:30:19 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"domain not found"} ' http_version: recorded_at: Sun, 15 Oct 2023 17:30:19 GMT - request: method: post uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions body: encoding: UTF-8 string: template=%7B%7Bfname%7D%7D+%7B%7Blname%7D%7D&comment=test+comment&headers=%7B%22Subject%22%3A+%22%7B%7Bsubject%7D%7D%22%7D&tag=v2&active=yes headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Content-Length: - '140' Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmQ5MTViNWNkYjlhNTgzNjg1ZDhmM2ZiMWJlYzBmMjBmLTA3YmM3YjA1LWZhNDgxNmEx response: status: code: 404 message: Not Found headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '31' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:30:20 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"domain not found"} ' http_version: recorded_at: Sun, 15 Oct 2023 17:30:20 GMT - request: method: get uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions/v2 body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmQ5MTViNWNkYjlhNTgzNjg1ZDhmM2ZiMWJlYzBmMjBmLTA3YmM3YjA1LWZhNDgxNmEx response: status: code: 404 message: Not Found headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '31' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:30:20 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"domain not found"} ' http_version: recorded_at: Sun, 15 Oct 2023 17:30:21 GMT - request: method: put uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions/v2 body: encoding: UTF-8 string: template=%7B%7Bfname%7D%7D+%7B%7Blname%7D%7D&comment=test+comment+2&headers=%7B%22Subject%22%3A+%22%7B%7Bsubject%7D%7D%22%7D headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Content-Length: - '124' Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmQ5MTViNWNkYjlhNTgzNjg1ZDhmM2ZiMWJlYzBmMjBmLTA3YmM3YjA1LWZhNDgxNmEx response: status: code: 404 message: Not Found headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '31' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:30:21 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"domain not found"} ' http_version: recorded_at: Sun, 15 Oct 2023 17:30:21 GMT - request: method: get uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmQ5MTViNWNkYjlhNTgzNjg1ZDhmM2ZiMWJlYzBmMjBmLTA3YmM3YjA1LWZhNDgxNmEx response: status: code: 404 message: Not Found headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '31' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:30:22 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"domain not found"} ' http_version: recorded_at: Sun, 15 Oct 2023 17:30:22 GMT - request: method: delete uri: https://api.mailgun.net/v3/integration-test.domain.invalid/templates/test.template/versions/v2 body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin21.6.0 x86_64) ruby/2.5.1p57 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic YXBpOmQ5MTViNWNkYjlhNTgzNjg1ZDhmM2ZiMWJlYzBmMjBmLTA3YmM3YjA1LWZhNDgxNmEx response: status: code: 404 message: Not Found headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Length: - '31' Content-Type: - application/json; charset=utf-8 Date: - Sun, 15 Oct 2023 17:30:22 GMT Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"message":"domain not found"} ' http_version: recorded_at: Sun, 15 Oct 2023 17:30:22 GMT recorded_with: VCR 3.0.3