--- http_interactions: - request: method: get uri: https://api.mailgun.net/v5/accounts/subaccounts body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin22 x86_64) ruby/2.7.4p191 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic xxx response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Disposition: - inline Content-Length: - '706' Content-Type: - application/json Date: - Mon, 20 Nov 2023 15:30:55 GMT Server: - TwistedWeb/23.10.0 Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 1c7e8847-e7fad6d2 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"subaccounts":[{"id":"xxx","name":"test-ruby-lib","status":"open"}],"total":1} ' http_version: recorded_at: Mon, 20 Nov 2023 15:30:55 GMT - request: method: post uri: https://api.mailgun.net/v5/accounts/subaccounts body: encoding: UTF-8 string: name=test.subaccount headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin22 x86_64) ruby/2.7.4p191 Content-Length: - '20' 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 xxx response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Disposition: - inline Content-Length: - '90' Content-Type: - application/json Date: - Mon, 20 Nov 2023 15:33:05 GMT Server: - TwistedWeb/23.10.0 Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 1c7e8847-e7fad6d2 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"subaccount":{"id":"xxx","name":"test.subaccount","status":"open"}} ' http_version: recorded_at: Mon, 20 Nov 2023 15:33:05 GMT - request: method: get uri: https://api.mailgun.net/v5/accounts/subaccounts/xxx body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin22 x86_64) ruby/2.7.4p191 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Host: - api.mailgun.net Authorization: - Basic xxx response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Disposition: - inline Content-Length: - '88' Content-Type: - application/json Date: - Mon, 20 Nov 2023 15:33:06 GMT Server: - TwistedWeb/23.10.0 Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 1c7e8847-e7fad6d2 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"subaccount":{"id":"xxx","name":"test-ruby-lib","status":"open"}} ' http_version: recorded_at: Mon, 20 Nov 2023 15:33:06 GMT - request: method: post uri: https://api.mailgun.net/v5/accounts/subaccounts/xxx/enable body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin22 x86_64) ruby/2.7.4p191 Content-Length: - '0' 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 xxx response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Disposition: - inline Content-Length: - '88' Content-Type: - application/json Date: - Mon, 20 Nov 2023 15:33:06 GMT Server: - TwistedWeb/23.10.0 Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 1c7e8847-e7fad6d2 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"subaccount":{"id":"xxx","name":"test-ruby-lib","status":"open"}} ' http_version: recorded_at: Mon, 20 Nov 2023 15:33:06 GMT - request: method: post uri: https://api.mailgun.net/v5/accounts/subaccounts/xxx/disable body: encoding: US-ASCII string: '' headers: Accept: - "*/*" User-Agent: - rest-client/2.1.0 (darwin22 x86_64) ruby/2.7.4p191 Content-Length: - '0' 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 xxx response: status: code: 200 message: OK headers: Access-Control-Allow-Credentials: - 'true' Access-Control-Allow-Origin: - "*" Cache-Control: - no-store Content-Disposition: - inline Content-Length: - '92' Content-Type: - application/json Date: - Mon, 20 Nov 2023 15:33:07 GMT Server: - TwistedWeb/23.10.0 Strict-Transport-Security: - max-age=63072000; includeSubDomains X-Mailgun-Key-Id: - 1c7e8847-e7fad6d2 X-Xss-Protection: - 1; mode=block body: encoding: UTF-8 string: '{"subaccount":{"id":"xxx","name":"test-ruby-lib","status":"disabled"}} ' http_version: recorded_at: Mon, 20 Nov 2023 15:33:08 GMT recorded_with: VCR 3.0.3