--- http_interactions: - request: method: get uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=addsubdomain&cpanel_jsonapi_module=SubDomain&cpanel_jsonapi_user=lumberg&domain=foo&rootdomain=lumberg-test.com body: string: "" headers: User-Agent: - Faraday v0.8.7 Accept: - "*/*" Authorization: - WHM root:iscool response: status: code: 200 message: OK headers: Content-Type: - text/plain; charset="utf-8" Server: - cpsrvd/11.32.6.3 Content-Length: - "352" X-Keep-Alive-Count: - "1" Connection: - Keep-Alive Date: - Fri, 03 May 2013 13:47:21 GMT Keep-Alive: - timeout=70, max=200 body: string: | {"cpanelresult":{"event":{"result":1},"apiversion":2,"preevent":{"result":1},"data":[{"result":1,"reason":"The zone file for 'lumberg-test.com' has been edited and your new data has been added to it.\r\nsaved lumberg-test.com\nThe subdomain, foo.lumberg-test.com has been added."}],"func":"addsubdomain","postevent":{"result":1},"module":"SubDomain"}} http_version: recorded_at: Fri, 03 May 2013 13:47:22 GMT - request: method: get uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=delsubdomain&cpanel_jsonapi_module=SubDomain&cpanel_jsonapi_user=lumberg&domain=foo.lumberg-test.com body: string: "" headers: User-Agent: - Faraday v0.8.7 Accept: - "*/*" Authorization: - WHM root:iscool response: status: code: 200 message: OK headers: Content-Type: - text/plain; charset="utf-8" Server: - cpsrvd/11.32.6.3 Content-Length: - "392" X-Keep-Alive-Count: - "1" Connection: - Keep-Alive Date: - Fri, 03 May 2013 13:47:23 GMT Keep-Alive: - timeout=70, max=200 body: string: | {"cpanelresult":{"preevent":{"result":1},"postevent":{"result":1},"event":{"result":1},"data":[{"reason":"Deleted domain: foo.lumberg-test.com\nThe zone file for 'lumberg-test.com' has been edited and your new data has been added to it.\r\nsaved lumberg-test.com\nThe subdomain, foo.lumberg-test.com has been removed.","result":1}],"func":"delsubdomain","apiversion":2,"module":"SubDomain"}} http_version: recorded_at: Fri, 03 May 2013 13:47:24 GMT recorded_with: VCR 2.0.1