Sha256: 25c94f90b8ae3947564a2fb2fb5289f84aae923e79dfbf8c7f36d1a2e758c4e6
Contents?: true
Size: 1.35 KB
Versions: 5
Compression:
Stored size: 1.35 KB
Contents
--- - !ruby/struct:VCR::HTTPInteraction request: !ruby/struct:VCR::Request method: :post uri: http://<USER>:<PASS>@<URL>:80/roles.json?role%5Bpermission_ids%5D=1&role%5Blabel%5D=Test+Create body: headers: content-type: - application/json authorization: - Basic <REDACTED> response: !ruby/struct:VCR::Response status: !ruby/struct:VCR::ResponseStatus code: 201 message: Created headers: x-ua-compatible: - IE=Edge,chrome=1 location: - http://<URL>/roles/407 x-powered-by: - Phusion Passenger (mod_rails/mod_rack) 3.0.1 content-type: - application/json; charset=utf-8 x-runtime: - "0.317188" server: - Apache/2.2.3 (CentOS) date: - Fri, 10 Feb 2012 14:25:06 GMT set-cookie: - <REDACTED> status: - "201" cache-control: - no-cache transfer-encoding: - chunked body: "{\"role\":{\"label\":\"Test Create\",\"created_at\":\"2012-02-10T14:25:06Z\",\"updated_at\":\"2012-02-10T14:25:06Z\",\"id\":407,\"permissions\":[{\"permission\":{\"label\":\"Any action on virtual machines\",\"created_at\":\"2010-10-27T10:08:25Z\",\"updated_at\":\"2010-10-27T10:08:25Z\",\"id\":1,\"identifier\":\"virtual_machines\"}}],\"identifier\":\"pz9ypw3ct32mbw\"}}" http_version: "1.1"
Version data entries
5 entries across 5 versions & 1 rubygems