Sha256: c5e3619b97def16209e0b284476f010e4f745e40e651eb66c61195305c2ae3aa

Contents?: true

Size: 1.99 KB

Versions: 5

Compression:

Stored size: 1.99 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%5Bport%5D=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%5Bcommand%5D=DROP&firewall_rule%5Bprotocol%5D=TCP&firewall_rule%5Bnetwork_interface_id%5D=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

5 entries across 5 versions & 1 rubygems

Version Path
squall-1.4.0 spec/vcr_cassettes/firewall_rule/edit.yml
squall-1.3.1 spec/vcr_cassettes/firewall_rule/edit.yml
squall-1.3.0 spec/vcr_cassettes/firewall_rule/edit.yml
squall-1.2.1beta1 spec/vcr_cassettes/firewall_rule/edit.yml
squall-1.2.0beta1 spec/vcr_cassettes/firewall_rule/edit.yml