Sha256: 43c9361b431087bd663f3bd6eeb63089c4c636947cafaf9e976bf3cd2f8a8815

Contents?: true

Size: 1.73 KB

Versions: 20

Compression:

Stored size: 1.73 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://myhost.com:2087/json-api/unsuspendreseller?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":"Finished unsuspending reseller."}],"output":"Changing
        shell for bob.\nShell changed.\nUnlocking password for user bob.\npasswd:
        Success.\nFound /etc/proftpd/bob with contents. It will be archived as ''/etc/proftpd/bob.unsuspend_failed''
        and replaced with the previously suspended version.\nUnsuspending FTP accounts...\nUpdating
        ftp passwords for bob\nFtp password files updated.\nFtp vhost passwords synced\nbob''s
        account is now active\nUnsuspending mysql users\nNotification => notify@example.com
        via EMAIL [level => 3]\n"}'
    http_version: '1.1'
  recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
    method: get
    uri: https://myhost.com:2087/json-api/unsuspendreseller?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
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/unsuspendreseller.yml
lumberg-4.0.0 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-3.1.0 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-3.0.0 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.1 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.0 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.0.pre20 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.0.pre18 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.0.pre15 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.0.pre12 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.0.pre9 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.0.pre8 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.0.pre7 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.0.pre6 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.0.pre5 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.0.pre4 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-2.0.0.pre3 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-1.1.1 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-1.0.6 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml
lumberg-1.0.3 spec/vcr_cassettes/whm/reseller/unsuspendreseller.yml