Sha256: 51d04b595f3cb2c88c36f860d5647ad05a694fdeb579c38614f8e7bd46bdd265

Contents?: true

Size: 1.23 KB

Versions: 3

Compression:

Stored size: 1.23 KB

Contents

--- 
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :get
    uri: https://myhost.com:2087/json-api/killdns?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,\"statusmsg\":\"Zones Removed\",\"rawout\":\"example2.com => deleted from myhost. \"}]}"
    http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :get
    uri: https://myhost.com:2087/json-api/killdns?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\":\"Unable to remove zone that does not exist.\"}]}"
    http_version: "1.1"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lumberg-1.0.1 spec/vcr_cassettes/whm/dns/killdns.yml
lumberg-1.0.0 spec/vcr_cassettes/whm/dns/killdns.yml
lumberg-0.9.5 spec/vcr_cassettes/whm/dns/killdns.yml