Sha256: 91d5dc1032a1fe21c16192ec7e486a47898e8c5860d721034ce4b9921ec70d61

Contents?: true

Size: 1.94 KB

Versions: 2

Compression:

Stored size: 1.94 KB

Contents

---
http_interactions:
- request:
    method: get
    uri: https://myhost.com:2087/json-api/cpanel?cpanel_jsonapi_apiversion=2&cpanel_jsonapi_func=savecontactinfo&cpanel_jsonapi_module=CustInfo&cpanel_jsonapi_user=lumberg&email=testing@lumberg-test.com&notify_bandwidth_limit=1&notify_disk_limit&notify_email_quota_limit
    body:
      string: ""
    headers:
      Authorization:
      - WHM root:iscool
      Accept:
      - "*/*"
      User-Agent:
      - Faraday v0.8.7
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Thu, 16 May 2013 06:22:30 GMT
      Server:
      - cpsrvd/11.36.0.4
      Content-Length:
      - "1008"
      Connection:
      - Keep-Alive
      X-Keep-Alive-Count:
      - "1"
      Keep-Alive:
      - timeout=70, max=200
      Content-Type:
      - application/json; charset="utf-8"
    body:
      string: |
        {"cpanelresult":{"event":{"result":1},"module":"CustInfo","apiversion":2,"data":[{"display_value":"off","descp":"Send notifications to your contact email address when you are reaching your disk quota.","value":0,"name":"notify_disk_limit"},{"display_value":"testing@lumberg-test.com","descp":"Email address that you can be contacted at.  This should be an email address that is not on your account if you have one.","value":"testing@lumberg-test.com","name":"email"},{"display_value":"off","descp":"Send notifications to your contact email address when one of your email accounts approaches or is over quota.","value":0,"name":"notify_email_quota_limit"},{"display_value":"","descp":"If you wish to provide a second email address to receive notifications, enter it here.","value":"","name":"second_email"},{"display_value":"on","descp":"Send notifications to your contact email address when you are reaching your bandwidth usage limit.","value":1,"name":"notify_bandwidth_limit"}],"func":"savecontactinfo"}}

    http_version:
  recorded_at: Thu, 16 May 2013 06:17:43 GMT
recorded_with: VCR 2.0.1

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lumberg-4.1.0 spec/vcr_cassettes/cpanel/contact/update.yml
lumberg-4.0.0 spec/vcr_cassettes/cpanel/contact/update.yml