Sha256: 6e4e85a8f211a08fcff076f5697c5cb2dd64b2b72f82d2e81ed02ce775520ca3

Contents?: true

Size: 1.98 KB

Versions: 1

Compression:

Stored size: 1.98 KB

Contents

--- 
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :put
    uri: http://<USER>:<PASS>@<URL>:80/virtual_machines/1/firewall_rules/1.json?firewall_rule[port]=1000
    body: 
    headers: 
      content-type: 
      - application/json
      authorization: 
      - Basic <REDACTED>
  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: 
      - <REDACTED>
      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://<USER>:<PASS>@<URL>: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 <REDACTED>
  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: 
      - <REDACTED>
      status: 
      - "404"
      cache-control: 
      - no-cache
      transfer-encoding: 
      - chunked
    body: "{\"errors\":[\"Resource not found\"]}"
    http_version: "1.1"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
squall-1.1.0 spec/vcr_cassettes/firewall_rule/edit.yml