Sha256: eb4d332b73dcf64f0b3567ac5b67a1351a947e4b2b03938bdc3bc5356967e5fc

Contents?: true

Size: 1.34 KB

Versions: 1

Compression:

Stored size: 1.34 KB

Contents

--- 
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :get
    uri: https://myhost.com:2087/json-api/showbw?month=5&year=2011
    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.87
      transfer-encoding: 
      - chunked
      content-type: 
      - text/plain
    body: "{\"bandwidth\":[{\"reseller\":\"root\",\"month\":\"5\",\"acct\":[{\"reseller\":\"1\",\"bwusage\":[{\"deleted\":0,\"usage\":0,\"domain\":\"testsiteone.com\"}],\"deleted\":0,\"limit\":\"999999999999990\",\"owner\":\"testsi\",\"user\":\"chicagot\",\"maindomain\":\"testsiteone.com\",\"totalbytes\":0},{\"reseller\":0,\"bwusage\":[{\"deleted\":0,\"usage\":0,\"domain\":\"testsitetwo.com\"}],\"deleted\":0,\"limit\":\"1048576000\",\"owner\":\"root\",\"user\":\"testsit\",\"maindomain\":\"testsitetwo.com\",\"totalbytes\":0},{\"reseller\":0,\"bwusage\":[{\"deleted\":0,\"usage\":0,\"domain\":\"blah.example.com\"},{\"deleted\":0,\"usage\":0,\"domain\":\"newuser.example.com\"}],\"deleted\":0,\"limit\":\"1049624576\",\"owner\":\"root\",\"user\":\"newuser\",\"maindomain\":\"blah.example.com\",\"totalbytes\":0}],\"totalused\":0,\"year\":\"2011\"}]}"
    http_version: "1.1"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lumberg-1.0.1 spec/vcr_cassettes/whm/server/showbw.yml