Sha256: 94884c5d4edc124ca06cb75eb26b275b0b6d2fd201b477503d41219d52eb76d1

Contents?: true

Size: 1.46 KB

Versions: 10

Compression:

Stored size: 1.46 KB

Contents

--- 
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: POST
    uri: https://api.gb1s.brightbox.com:443/1.0/firewall_rules
    body: "{\"destination\":\"0.0.0.0/0\",\"destination_port\":\"1080\",\"protocol\":\"tcp\",\"firewall_policy\":\"fwp-30kea\"}"
    headers: 
      content-type: 
      - application/json
      authorization: 
      - OAuth e717de9faa2aaeacd8b55c38def2c53e72b42f06
  response: !ruby/struct:VCR::Response 
    status: !ruby/struct:VCR::ResponseStatus 
      code: 202
      message: 
    headers: 
      location: 
      - https://api.gb1s.brightbox.com/1.0/firewall_rules/fwr-49emn
      content-type: 
      - application/json; charset=utf-8
      server: 
      - Apache
      date: 
      - Fri, 14 Oct 2011 13:29:04 GMT
      x-runtime: 
      - "53"
      content-length: 
      - "456"
      cache-control: 
      - no-cache
      status: 
      - "202"
      vary: 
      - Accept-Encoding
    body: "{\"id\":\"fwr-49emn\",\"resource_type\":\"firewall_rule\",\"url\":\"https://api.gb1s.brightbox.com/1.0/firewall_rules/fwr-49emn\",\"destination\":\"0.0.0.0/0\",\"protocol\":\"tcp\",\"icmp_type_name\":null,\"source_port\":null,\"description\":null,\"destination_port\":\"1080\",\"source\":null,\"firewall_policy\":{\"id\":\"fwp-30kea\",\"resource_type\":\"firewall_policy\",\"url\":\"https://api.gb1s.brightbox.com/1.0/firewall_policies/fwp-30kea\",\"name\":\"the_wall\",\"default\":false,\"description\":null}}"
    http_version: 

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
brightbox-cli-0.18.1 spec/fixtures/vcr_cassettes/firewall_rule.yml
brightbox-cli-0.18.0 spec/fixtures/vcr_cassettes/firewall_rule.yml
brightbox-cli-0.17.5 spec/fixtures/vcr_cassettes/firewall_rule.yml
brightbox-cli-0.17.4 spec/fixtures/vcr_cassettes/firewall_rule.yml
brightbox-cli-0.17.3 spec/fixtures/vcr_cassettes/firewall_rule.yml
brightbox-cli-0.17.2 spec/fixtures/vcr_cassettes/firewall_rule.yml
brightbox-cli-0.17.1 spec/fixtures/vcr_cassettes/firewall_rule.yml
brightbox-cli-0.17.0 spec/fixtures/vcr_cassettes/firewall_rule.yml
brightbox-cli-0.16.0 spec/fixtures/vcr_cassettes/firewall_rule.yml
brightbox-cli-0.15.0 spec/fixtures/vcr_cassettes/firewall_rule.yml