--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :put uri: http://:@:80/virtual_machines/1/firewall_rules/1.json?firewall_rule[port]=1000 body: headers: content-type: - application/json authorization: - Basic response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 200 message: OK headers: x-ua-compatible: - IE=Edge,chrome=1 x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 date: - Mon, 13 Feb 2012 21:52:40 GMT server: - Apache/2.2.3 (CentOS) x-runtime: - "0.032279" set-cookie: - cache-control: - no-cache status: - "200" transfer-encoding: - chunked body: " " http_version: "1.1" - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :put uri: http://:@:80/virtual_machines/1/firewall_rules/404.json?firewall_rule[command]=DROP&firewall_rule[protocol]=TCP&firewall_rule[network_interface_id]=1 body: headers: content-type: - application/json authorization: - Basic response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 404 message: Not Found headers: x-ua-compatible: - IE=Edge,chrome=1 x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 x-runtime: - "0.036448" server: - Apache/2.2.3 (CentOS) date: - Mon, 13 Feb 2012 21:52:40 GMT set-cookie: - status: - "404" cache-control: - no-cache transfer-encoding: - chunked body: "{\"errors\":[\"Resource not found\"]}" http_version: "1.1"