Sha256: 762638a3205317cf24b395819875e3be95dc629bb8f36bd5530b93b031cfdaff

Contents?: true

Size: 1.9 KB

Versions: 20

Compression:

Stored size: 1.9 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://myhost.com:2087/json-api/getzonerecord?Line=1&domain=example.com
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Authorization:
      - WHM root:iscool
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - cpsrvd/11.28.64
      Transfer-Encoding:
      - chunked
      Content-Type:
      - text/plain
    body:
      encoding: UTF-8
      string: ! '{"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'
  recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
    method: get
    uri: https://myhost.com:2087/json-api/getzonerecord?Line=1&domain=notexists.com
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Authorization:
      - WHM root:iscool
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - cpsrvd/11.28.64
      Transfer-Encoding:
      - chunked
      Content-Type:
      - text/plain
    body:
      encoding: UTF-8
      string: ! '{"result":[{"status":0,"statusmsg":"Zone does not exist."}]}'
    http_version: '1.1'
  recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
    method: get
    uri: https://myhost.com:2087/json-api/getzonerecord?Line=20&domain=example.com
    body:
      encoding: US-ASCII
      string: ''
    headers:
      Authorization:
      - WHM root:iscool
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - cpsrvd/11.28.64
      Transfer-Encoding:
      - chunked
      Content-Type:
      - text/plain
    body:
      encoding: UTF-8
      string: ! '{"result":[{"status":0,"statusmsg":"No record available on selected
        line."}]}'
    http_version: '1.1'
  recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
recorded_with: VCR 2.0.0
...

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
lumberg-4.1.0 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-4.0.0 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-3.1.0 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-3.0.0 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.1 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.0 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.0.pre20 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.0.pre18 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.0.pre15 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.0.pre12 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.0.pre9 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.0.pre8 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.0.pre7 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.0.pre6 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.0.pre5 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.0.pre4 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-2.0.0.pre3 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-1.1.1 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-1.0.6 spec/vcr_cassettes/whm/dns/getzonerecord.yml
lumberg-1.0.3 spec/vcr_cassettes/whm/dns/getzonerecord.yml