Sha256: afc809b77ebd5713da6fb85296a02a03cfad7e7ab8a9411f9be6cb508b1e33a7

Contents?: true

Size: 1.61 KB

Versions: 3

Compression:

Stored size: 1.61 KB

Contents

--- 
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :get
    uri: https://myhost.com:2087/json-api/unsuspendacct?user=notexists
    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: "{\"result\":[{\"status\":0,\"statusmsg\":\"_unsuspendacct called for a user that does not exist. (notexists)\"}]}"
    http_version: "1.1"
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :get
    uri: https://myhost.com:2087/json-api/unsuspendacct?user=asdfasdf
    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: "{\"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"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lumberg-1.0.1 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-1.0.0 spec/vcr_cassettes/whm/account/unsuspend.yml
lumberg-0.9.5 spec/vcr_cassettes/whm/account/unsuspend.yml