--- http_interactions: - request: method: post uri: http://localhost:3000/locomotive/api/v3/tokens.json body: encoding: UTF-8 string: email=admin%40locomotivecms.com&password=locomotive headers: Accept: - application/json Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 201 message: Created headers: Content-Type: - application/json Etag: - W/"157eb61d395f237526d11950bbc5a1fa" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - e5ff54e2-a882-4db2-b0a2-f12f0b44ce15 X-Runtime: - '0.513249' Content-Length: - '32' body: encoding: UTF-8 string: '{"token":"v6XDp282UyPDeM6DgA-S"}' http_version: recorded_at: Wed, 29 Jul 2015 15:36:33 GMT - request: method: get uri: http://localhost:3000/locomotive/sample/api/v3/memberships.json?auth_token=v6XDp282UyPDeM6DgA-S body: encoding: US-ASCII string: '' headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - v6XDp282UyPDeM6DgA-S Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - application/json Etag: - W/"940996dd4c216094aa1b77a1a499e90d" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 07572258-a6e3-484e-9962-b2ca44a3036a X-Runtime: - '0.406759' Content-Length: - '204' body: encoding: UTF-8 string: '[{"_id":"55b8f2ea4469646440000009","created_at":null,"updated_at":null,"role":"admin","account_id":"55b8f2ea4469646440000000","name":"Admin","role_name":"Administrator","email":"admin@locomotivecms.com"}]' http_version: recorded_at: Wed, 29 Jul 2015 15:36:33 GMT - request: method: post uri: http://localhost:3000/locomotive/sample/api/v3/memberships.json body: encoding: UTF-8 string: auth_token=v6XDp282UyPDeM6DgA-S&membership%5Baccount_email%5D=new_admin%40locomotivecms.com&membership%5Brole%5D=Admin headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - v6XDp282UyPDeM6DgA-S Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 201 message: Created headers: Content-Type: - application/json Etag: - W/"3e61b5b03505c63e72ae0ce7cb448710" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 5682c09c-bad6-455b-ad4d-9b6ed74e6faf X-Runtime: - '0.050953' Content-Length: - '246' body: encoding: UTF-8 string: '{"_id":"55b8f301446964641a000000","created_at":"2015-07-29T15:36:33Z","updated_at":"2015-07-29T15:36:33Z","role":"admin","account_id":"55b8f2ea4469646440000001","name":"New Admin","role_name":"Administrator","email":"new_admin@locomotivecms.com"}' http_version: recorded_at: Wed, 29 Jul 2015 15:36:33 GMT - request: method: put uri: http://localhost:3000/locomotive/sample/api/v3/memberships/55b8f301446964641a000000.json body: encoding: UTF-8 string: auth_token=v6XDp282UyPDeM6DgA-S&membership%5Brole%5D=author headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - v6XDp282UyPDeM6DgA-S Content-Type: - application/x-www-form-urlencoded Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - application/json Etag: - W/"8703c965a9ed3d106c5473856cce0fa5" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 1b7db231-2abe-46a7-91c6-3502d3016d4a X-Runtime: - '0.033582' Content-Length: - '240' body: encoding: UTF-8 string: '{"_id":"55b8f301446964641a000000","created_at":"2015-07-29T15:36:33Z","updated_at":"2015-07-29T15:36:33Z","role":"author","account_id":"55b8f2ea4469646440000001","name":"New Admin","role_name":"Author","email":"new_admin@locomotivecms.com"}' http_version: recorded_at: Wed, 29 Jul 2015 15:36:33 GMT - request: method: delete uri: http://localhost:3000/locomotive/sample/api/v3/memberships/55b8f301446964641a000000.json?auth_token=v6XDp282UyPDeM6DgA-S body: encoding: US-ASCII string: '' headers: Accept: - application/json X-Locomotive-Account-Email: - admin@locomotivecms.com X-Locomotive-Account-Token: - v6XDp282UyPDeM6DgA-S Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 User-Agent: - Ruby response: status: code: 200 message: OK headers: Content-Type: - application/json Etag: - W/"8703c965a9ed3d106c5473856cce0fa5" Cache-Control: - max-age=0, private, must-revalidate X-Request-Id: - 989483af-20ec-41fe-88da-0fe624febabd X-Runtime: - '0.036029' Content-Length: - '240' body: encoding: UTF-8 string: '{"_id":"55b8f301446964641a000000","created_at":"2015-07-29T15:36:33Z","updated_at":"2015-07-29T15:36:33Z","role":"author","account_id":"55b8f2ea4469646440000001","name":"New Admin","role_name":"Author","email":"new_admin@locomotivecms.com"}' http_version: recorded_at: Wed, 29 Jul 2015 15:36:33 GMT recorded_with: VCR 2.9.3