Sha256: 57afac28b9e736e258b9d1b80597db35eeb5edd62a74a397c88d21acb3f6e1d4

Contents?: true

Size: 1.66 KB

Versions: 20

Compression:

Stored size: 1.66 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://myhost.com:2087/json-api/unsuspendacct?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":"_unsuspendacct called for a user
        that does not exist. (notexists)"}]}'
    http_version: '1.1'
  recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
- request:
    method: get
    uri: https://myhost.com:2087/json-api/unsuspendacct?user=asdfasdf
    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":"<script>if (self[''clear_ui_status''])
        { clear_ui_status(); }</script>\nChanging shell for asdfasdf.\nShell changed.\nUnlocking
        password for user asdfasdf.\npasswd: Success.\nUnsuspending FTP accounts...\nUpdating
        ftp passwords for asdfasdf\nFtp password files updated.\nFtp vhost passwords
        synced\nasdfasdf''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
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/account/unsuspend.yml
lumberg-4.0.0 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-3.1.0 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-3.0.0 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.1 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.0 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.0.pre20 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.0.pre18 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.0.pre15 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.0.pre12 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.0.pre9 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.0.pre8 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.0.pre7 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.0.pre6 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.0.pre5 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.0.pre4 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-2.0.0.pre3 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-1.1.1 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-1.0.6 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-1.0.3 spec/vcr_cassettes/whm/account/unsuspend.yml