spec/vcr_cassettes/whm/server/sethostname.yml in lumberg-1.0.1 vs spec/vcr_cassettes/whm/server/sethostname.yml in lumberg-1.0.3
- old
+ new
@@ -1,22 +1,31 @@
----
-- !ruby/struct:VCR::HTTPInteraction
- request: !ruby/struct:VCR::Request
- method: :get
+---
+http_interactions:
+- request:
+ method: get
uri: https://myhost.com:2087/json-api/sethostname?hostname=myhost.com
- body:
- headers:
- authorization:
+ body:
+ encoding: US-ASCII
+ string: ''
+ headers:
+ Authorization:
- WHM root:iscool
- response: !ruby/struct:VCR::Response
- status: !ruby/struct:VCR::ResponseStatus
+ response:
+ status:
code: 200
message: OK
- headers:
- server:
+ headers:
+ Server:
- cpsrvd/11.28.87
- transfer-encoding:
+ Transfer-Encoding:
- chunked
- content-type:
+ Content-Type:
- text/plain
- body: "{\"sethostname\":[{\"status\":1,\"statusmsg\":\"Hostname Changed to: myhost.com\",\"msgs\":\"Updating Apache configuration\\nUpdating cPanel license...Done. Update succeeded.\\nBuilding global cache for cpanel...Done\",\"warns\":[]}]}"
- http_version: "1.1"
+ body:
+ encoding: UTF-8
+ string: ! '{"sethostname":[{"status":1,"statusmsg":"Hostname Changed to: myhost.com","msgs":"Updating
+ Apache configuration\nUpdating cPanel license...Done. Update succeeded.\nBuilding
+ global cache for cpanel...Done","warns":[]}]}'
+ http_version: '1.1'
+ recorded_at: Wed, 07 Mar 2012 21:53:52 GMT
+recorded_with: VCR 2.0.0
+...