Sha256: d741b68a7633cc8b62af0c71f7508be3f6209867d3e572c2f5c7c80adde03779

Contents?: true

Size: 1.8 KB

Versions: 20

Compression:

Stored size: 1.8 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://myhost.com:2087/json-api/acctcounts?user=notexists
    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":"Specified user is not a reseller."}]}'
    http_version: '1.1'
  recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
    method: get
    uri: https://myhost.com:2087/json-api/setresellernameservers?user=bob
    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,"statusmsg":"Set resellers nameservers."}]}'
    http_version: '1.1'
  recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
    method: get
    uri: https://myhost.com:2087/json-api/setresellernameservers?nameservers=ns1.example.com&user=bob
    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,"statusmsg":"Set resellers nameservers."}]}'
    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/reseller/setresellernameservers.yml
lumberg-4.0.0 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-3.1.0 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-3.0.0 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.1 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.0 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.0.pre20 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.0.pre18 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.0.pre15 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.0.pre12 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.0.pre9 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.0.pre8 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.0.pre7 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.0.pre6 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.0.pre5 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.0.pre4 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-2.0.0.pre3 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-1.1.1 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-1.0.6 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml
lumberg-1.0.3 spec/vcr_cassettes/whm/reseller/setresellernameservers.yml