Sha256: 2f7aed9d932954ddc8d734c56222691c8f1b113469abfbec5e3a96c6ac31454c

Contents?: true

Size: 1.95 KB

Versions: 1

Compression:

Stored size: 1.95 KB

Contents

--- 
- !ruby/struct:VCR::HTTPInteraction 
  request: !ruby/struct:VCR::Request 
    method: :put
    uri: http://<USER>:<PASS>@<URL>:80/users/1/payments/1.json?payment[amount]=100
    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
      etag: 
      - "\"99914b932bd37a50b983c5e7c90ae93b\""
      content-type: 
      - application/json; charset=utf-8
      date: 
      - Mon, 13 Feb 2012 17:58:22 GMT
      server: 
      - Apache/2.2.3 (CentOS)
      x-runtime: 
      - "0.037135"
      set-cookie: 
      - <REDACTED>
      cache-control: 
      - max-age=0, private, must-revalidate
      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/users/1/payments/404.json?payment[amount]=500
    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.024031"
      server: 
      - Apache/2.2.3 (CentOS)
      date: 
      - Mon, 13 Feb 2012 17:58:23 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/payment/edit.yml