--- http_interactions: - request: method: post uri: https://api.staging-patch.com/v1/estimates/mass body: encoding: UTF-8 string: '{"mass_g":100}' headers: User-Agent: - OpenAPI-Generator/1.0.0.pre/ruby Content-Type: - application/json Accept: - application/json Authorization: - "" Expect: - '' response: status: code: 201 message: '' headers: server: - nginx/1.17.8 date: - Thu, 02 Jul 2020 17:44:23 GMT content-type: - application/json; charset=utf-8 x-frame-options: - SAMEORIGIN x-xss-protection: - 1; mode=block x-content-type-options: - nosniff x-download-options: - noopen x-permitted-cross-domain-policies: - none referrer-policy: - strict-origin-when-cross-origin etag: - W/"3fd5856c8b9923b9359ca82a17bed91d" cache-control: - max-age=0, private, must-revalidate x-request-id: - 7dc7ca3bdc0917a9bda4701e18855f9c x-runtime: - '0.356926' strict-transport-security: - max-age=15724800; includeSubDomains vary: - Origin access-control-allow-origin: - "*" access-control-allow-credentials: - 'true' access-control-allow-methods: - GET, PUT, POST, DELETE, PATCH, OPTIONS access-control-allow-headers: - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization body: encoding: UTF-8 string: '{"data":{"id":"est_test_7fd554d0b824cbf3fd928f8db56dc3f1","order":{"id":"ord_test_26c3cc6bcc823154b244653052ffc93e","allocation_state":"allocated","allocations":[{"id":"all_test_da286dca43e07def48c5333f971c0673","mass_g":100,"offset":{"id":"off_test_000ef5de5218cc4eeea1f87e081da9cc","developer":"Patch Test Developer","production":false,"serial_number":"462630d75df3085670adfb97cc7be235","vintage_year":2020},"production":false}],"mass_g":100,"price_cents_usd":"1.0","production":false,"state":"draft"},"production":true,"type":"mass"},"error":null,"meta":null,"success":true}' http_version: '2' adapter_metadata: effective_url: https://api.staging-patch.com/v1/estimates/mass recorded_at: Thu, 02 Jul 2020 17:44:23 GMT - request: method: get uri: https://api.staging-patch.com/v1/estimates/est_test_7fd554d0b824cbf3fd928f8db56dc3f1 body: encoding: US-ASCII string: '' headers: User-Agent: - OpenAPI-Generator/1.0.0.pre/ruby Content-Type: - application/json Accept: - application/json Authorization: - "" Expect: - '' response: status: code: 200 message: '' headers: server: - nginx/1.17.8 date: - Thu, 02 Jul 2020 17:44:23 GMT content-type: - application/json; charset=utf-8 vary: - Accept-Encoding - Origin x-frame-options: - SAMEORIGIN x-xss-protection: - 1; mode=block x-content-type-options: - nosniff x-download-options: - noopen x-permitted-cross-domain-policies: - none referrer-policy: - strict-origin-when-cross-origin etag: - W/"3fd5856c8b9923b9359ca82a17bed91d" cache-control: - max-age=0, private, must-revalidate x-request-id: - 26daac59de9b1e3c4a5c284f02bcccd1 x-runtime: - '0.069078' strict-transport-security: - max-age=15724800; includeSubDomains access-control-allow-origin: - "*" access-control-allow-credentials: - 'true' access-control-allow-methods: - GET, PUT, POST, DELETE, PATCH, OPTIONS access-control-allow-headers: - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization body: encoding: UTF-8 string: '{"data":{"id":"est_test_7fd554d0b824cbf3fd928f8db56dc3f1","order":{"id":"ord_test_26c3cc6bcc823154b244653052ffc93e","allocation_state":"allocated","allocations":[{"id":"all_test_da286dca43e07def48c5333f971c0673","mass_g":100,"offset":{"id":"off_test_000ef5de5218cc4eeea1f87e081da9cc","developer":"Patch Test Developer","production":false,"serial_number":"462630d75df3085670adfb97cc7be235","vintage_year":2020},"production":false}],"mass_g":100,"price_cents_usd":"1.0","production":false,"state":"draft"},"production":true,"type":"mass"},"error":null,"meta":null,"success":true}' http_version: '2' adapter_metadata: effective_url: https://api.staging-patch.com/v1/estimates/est_test_7fd554d0b824cbf3fd928f8db56dc3f1 recorded_at: Thu, 02 Jul 2020 17:44:23 GMT - request: method: get uri: https://api.staging-patch.com/v1/estimates?page=1 body: encoding: US-ASCII string: '' headers: User-Agent: - OpenAPI-Generator/1.0.0.pre/ruby Content-Type: - application/json Accept: - application/json Authorization: - "" Expect: - '' response: status: code: 200 message: '' headers: server: - nginx/1.17.8 date: - Thu, 02 Jul 2020 17:44:24 GMT content-type: - application/json; charset=utf-8 vary: - Accept-Encoding - Origin x-frame-options: - SAMEORIGIN x-xss-protection: - 1; mode=block x-content-type-options: - nosniff x-download-options: - noopen x-permitted-cross-domain-policies: - none referrer-policy: - strict-origin-when-cross-origin etag: - W/"f85014fa5cfc264e4179f49199e870cc" cache-control: - max-age=0, private, must-revalidate x-request-id: - ccf25ace4c795d0af52d45efd5d72d26 x-runtime: - '0.039550' strict-transport-security: - max-age=15724800; includeSubDomains access-control-allow-origin: - "*" access-control-allow-credentials: - 'true' access-control-allow-methods: - GET, PUT, POST, DELETE, PATCH, OPTIONS access-control-allow-headers: - DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type,Authorization body: encoding: UTF-8 string: '{"data":[{"id":"est_test_7fd554d0b824cbf3fd928f8db56dc3f1","order":{"id":"ord_test_26c3cc6bcc823154b244653052ffc93e","allocation_state":"allocated","allocations":[{"id":"all_test_da286dca43e07def48c5333f971c0673","mass_g":100,"offset":{"id":"off_test_000ef5de5218cc4eeea1f87e081da9cc","developer":"Patch Test Developer","production":false,"serial_number":"462630d75df3085670adfb97cc7be235","vintage_year":2020},"production":false}],"mass_g":100,"price_cents_usd":"1.0","production":false,"state":"draft"},"production":true,"type":"mass"},{"id":"est_test_1fbe2802b582efc2caf3f1523cde1157","order":{"id":"ord_test_d22cae8d4a65ad93a255d1bf8b2a0701","allocation_state":"allocated","allocations":[{"id":"all_test_ad2a03492c746cefd7ebebe3bdd1d286","mass_g":100,"offset":{"id":"off_test_000ef5de5218cc4eeea1f87e081da9cc","developer":"Patch Test Developer","production":false,"serial_number":"462630d75df3085670adfb97cc7be235","vintage_year":2020},"production":false}],"mass_g":100,"price_cents_usd":"1.0","production":false,"state":"placed"},"production":true,"type":"mass"},{"id":"est_test_3d32e8da2e2af8f3aa635b49d4a9f695","order":{"id":"ord_test_f4c126c763b33ea12b7491118d5fdb18","allocation_state":"allocated","allocations":[],"mass_g":100,"price_cents_usd":"1.0","production":false,"state":"cancelled"},"production":true,"type":"mass"},{"id":"est_test_8e8ec365b3675cc0d62ee80ad7c872f7","order":{"id":"ord_test_5bd267b45da3d5c489b5b906f41bae0b","allocation_state":"allocated","allocations":[{"id":"all_test_e7a874eab4be84503d56605296816f35","mass_g":100,"offset":{"id":"off_test_000ef5de5218cc4eeea1f87e081da9cc","developer":"Patch Test Developer","production":false,"serial_number":"462630d75df3085670adfb97cc7be235","vintage_year":2020},"production":false}],"mass_g":100,"price_cents_usd":"1.0","production":false,"state":"placed"},"production":true,"type":"mass"},{"id":"est_test_ab9be5352e3a11b973ec89811f88e7f2","order":{"id":"ord_test_438094fb6759af55933349eb2ced84f5","allocation_state":"allocated","allocations":[],"mass_g":100,"price_cents_usd":"1.0","production":false,"state":"cancelled"},"production":true,"type":"mass"},{"id":"est_test_94367f5d88bc057e94cdbfd8b65013dd","order":{"id":"ord_test_f8ec57342fefc401a441f7cbf072f5b1","allocation_state":"allocated","allocations":[],"mass_g":100,"price_cents_usd":"1.0","production":false,"state":"cancelled"},"production":true,"type":"mass"}],"error":null,"meta":{"next_page":null,"prev_page":null},"success":true}' http_version: '2' adapter_metadata: effective_url: https://api.staging-patch.com/v1/estimates?page=1 recorded_at: Thu, 02 Jul 2020 17:44:24 GMT recorded_with: VCR 6.0.0