Sha256: 06479274b8b6ec9303bb3574e56d3a8e22eb39f78faca3fbee5ded5066626074

Contents?: true

Size: 1.87 KB

Versions: 3

Compression:

Stored size: 1.87 KB

Contents

--- 
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :get
    uri: https://myhost.com:2087/json-api/removezonerecord?Line=1&zone=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\":\"Bind reloading on myhost using rndc zone: [example.com]\"}]}"
    http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :get
    uri: https://myhost.com:2087/json-api/removezonerecord?Line=200&zone=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\":\"Unable to find a record on specified line: 200\"}]}"
    http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :get
    uri: https://myhost.com:2087/json-api/removezonerecord?Line=1&zone=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 find a record on specified line: 1\"}]}"
    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/removezonerecord.yml
lumberg-1.0.0 spec/vcr_cassettes/whm/dns/removezonerecord.yml
lumberg-0.9.5 spec/vcr_cassettes/whm/dns/removezonerecord.yml