--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://myhost.com:2087/json-api/resolvedomainname?api.version=1&domain=example.com body: headers: authorization: - WHM root:iscool response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: server: - cpsrvd/11.28.64 transfer-encoding: - chunked content-type: - text/plain body: "{\"data\":{\"ip\":\"192.1.2.3\"},\"metadata\":{\"result\":1,\"reason\":\"OK\",\"version\":1,\"command\":\"resolvedomainname\"}}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://myhost.com:2087/json-api/resolvedomainname?api.version=1&domain=notexists.com body: headers: authorization: - WHM root:iscool response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: server: - cpsrvd/11.28.64 transfer-encoding: - chunked content-type: - text/plain body: "{\"metadata\":{\"result\":0,\"reason\":\"Unable to resolve domain name.\",\"version\":1,\"command\":\"resolvedomainname\"}}" http_version: "1.1"