Sha256: 0f871d8f3acee75a9f9d7756bb2787ac5db27cc608d9a50856c85e556c0d4967

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-tkklm
      content-type: 
      - application/json; charset=utf-8
      server: 
      - Apache
      date: 
      - Fri, 14 Oct 2011 13:30:04 GMT
      x-runtime: 
      - "44"
      content-length: 
      - "456"
      cache-control: 
      - no-cache
      status: 
      - "202"
      vary: 
      - Accept-Encoding
    body: "{\"id\":\"fwr-tkklm\",\"resource_type\":\"firewall_rule\",\"url\":\"https://api.gb1s.brightbox.com/1.0/firewall_rules/fwr-tkklm\",\"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_create.yml
brightbox-cli-0.18.0 spec/fixtures/vcr_cassettes/firewall_rule_create.yml
brightbox-cli-0.17.5 spec/fixtures/vcr_cassettes/firewall_rule_create.yml
brightbox-cli-0.17.4 spec/fixtures/vcr_cassettes/firewall_rule_create.yml
brightbox-cli-0.17.3 spec/fixtures/vcr_cassettes/firewall_rule_create.yml
brightbox-cli-0.17.2 spec/fixtures/vcr_cassettes/firewall_rule_create.yml
brightbox-cli-0.17.1 spec/fixtures/vcr_cassettes/firewall_rule_create.yml
brightbox-cli-0.17.0 spec/fixtures/vcr_cassettes/firewall_rule_create.yml
brightbox-cli-0.16.0 spec/fixtures/vcr_cassettes/firewall_rule_create.yml
brightbox-cli-0.15.0 spec/fixtures/vcr_cassettes/firewall_rule_create.yml