--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://myhost.com:2087/json-api/getzonerecord?Line=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: "{\"result\":[{\"status\":1,\"record\":{\"Line\":1,\"raw\":\"; cPanel 11.25.0-STABLE_44718\",\"ttl\":\"86400\",\"type\":\":RAW\",\"name\":\"\"},\"statusmsg\":\"Record obtained.\"}]}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://myhost.com:2087/json-api/getzonerecord?Line=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: "{\"result\":[{\"status\":0,\"statusmsg\":\"Zone does not exist.\"}]}" http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :get uri: https://myhost.com:2087/json-api/getzonerecord?Line=20&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: "{\"result\":[{\"status\":0,\"statusmsg\":\"No record available on selected line.\"}]}" http_version: "1.1"