Sha256: 4c0f7437263b4dcaacfe2f89014523cba6ba960fc09391af3629148d821301f9

Contents?: true

Size: 1.32 KB

Versions: 3

Compression:

Stored size: 1.32 KB

Contents

--- 
- !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"

Version data entries

3 entries across 3 versions & 1 rubygems

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