--- http_interactions: - request: method: get uri: http://foo:bar@localhost:3000/api/v0/partners/51213be7-c8de-4e06-8cc2-06bfc82cdd68 body: encoding: US-ASCII string: '' headers: User-Agent: - Faraday v0.9.0 Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 404 message: Not Found headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Ua-Compatible: - chrome=1 Content-Type: - application/json; charset=utf-8 X-Meta-Request-Version: - 0.2.9 Cache-Control: - no-cache Set-Cookie: - request_method=GET; path=/ X-Request-Id: - 1d2c22b4-378c-4094-a3b4-08f9598c3c29 X-Runtime: - '0.084300' Connection: - close Server: - thin 1.6.2 codename Doc Brown body: encoding: UTF-8 string: '{"error":"Couldn''t find Partner with id=51213be7-c8de-4e06-8cc2-06bfc82cdd68"}' http_version: recorded_at: Thu, 16 Oct 2014 14:08:36 GMT - request: method: post uri: http://foo:bar@localhost:3000/api/v0/partners body: encoding: UTF-8 string: '{"id":"51213be7-c8de-4e06-8cc2-06bfc82cdd68","code":"bar","name":null,"rel_path":"b/a/r"}' headers: User-Agent: - Faraday v0.9.0 Content-Type: - application/json Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - '*/*' response: status: code: 201 message: Created headers: X-Frame-Options: - SAMEORIGIN X-Xss-Protection: - 1; mode=block X-Content-Type-Options: - nosniff X-Ua-Compatible: - chrome=1 Location: - http://localhost:3000/api/v0/partners/51213be7-c8de-4e06-8cc2-06bfc82cdd68 Content-Type: - application/json; charset=utf-8 X-Meta-Request-Version: - 0.2.9 Etag: - '"1809bc1f75282650db7445d620ccadde"' Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 28e2321c-c08e-49d7-8456-f642b5767b63 X-Runtime: - '0.229665' Connection: - close Server: - thin 1.6.2 codename Doc Brown body: encoding: UTF-8 string: '{"id":"51213be7-c8de-4e06-8cc2-06bfc82cdd68","code":"bar","name":null,"lock_version":0,"created_at":"2014-10-16T14:08:36.445Z","updated_at":"2014-10-16T14:08:36.445Z","rel_path":"b/a/r"}' http_version: recorded_at: Thu, 16 Oct 2014 14:08:36 GMT recorded_with: VCR 2.9.3