Sha256: 98bcc57a1f113a7f18084b217cf76ae471835fd65d49f2022cb5a04c09feaec5

Contents?: true

Size: 1.93 KB

Versions: 11

Compression:

Stored size: 1.93 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: http://localhost:3000/api/3/memberships
    body:
      encoding: UTF-8
      string: organization_id=1&role=participant&user_id=3
    headers:
      User-Agent:
      - Faraday v0.9.0
      Authorization:
      - Bearer _frank_access_token_
      Content-Type:
      - application/x-www-form-urlencoded
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - '*/*'
  response:
    status:
      code: 201
      message: Created
    headers:
      Content-Type:
      - application/json; charset=utf-8
      X-Ua-Compatible:
      - IE=Edge,chrome=1
      Etag:
      - '"c43d4811513a60f239d4e37cc1a6b672"'
      Cache-Control:
      - max-age=0, private, must-revalidate
      X-Request-Id:
      - e7d7b1be74738262b904a167b2d8de23
      X-Runtime:
      - '0.772512'
      Connection:
      - close
      Server:
      - thin 1.6.1 codename Death Proof
    body:
      encoding: UTF-8
      string: '{"type":"Membership","id":3,"user_id":3,"organization_id":1,"role":"participant"}'
    http_version: 
  recorded_at: Mon, 10 Nov 2014 14:53:00 GMT
- request:
    method: delete
    uri: http://localhost:3000/api/3/memberships/3
    body:
      encoding: US-ASCII
      string: ''
    headers:
      User-Agent:
      - Faraday v0.9.0
      Authorization:
      - Bearer _frank_access_token_
      Accept-Encoding:
      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
      Accept:
      - '*/*'
  response:
    status:
      code: 204
      message: No Content
    headers:
      X-Ua-Compatible:
      - IE=Edge,chrome=1
      Cache-Control:
      - no-cache
      X-Request-Id:
      - eda20c5053aa79ec299252f9e94f58db
      X-Runtime:
      - '12.424863'
      Connection:
      - close
      Server:
      - thin 1.6.1 codename Death Proof
    body:
      encoding: UTF-8
      string: ''
    http_version: 
  recorded_at: Mon, 10 Nov 2014 14:53:12 GMT
recorded_with: VCR 2.9.3

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
redbooth-ruby-0.2.3 spec/cassettes/RedboothRuby_Membership/_create/integration/.yml
redbooth-ruby-0.2.2 spec/cassettes/RedboothRuby_Membership/_create/integration/.yml
redbooth-ruby-0.2.1 spec/cassettes/RedboothRuby_Membership/_create/integration/.yml
redbooth-ruby-0.2.0 spec/cassettes/RedboothRuby_Membership/_create/integration/.yml
redbooth-ruby-0.1.4 spec/cassettes/RedboothRuby_Membership/_create/integration/.yml
redbooth-ruby-0.1.3 spec/cassettes/RedboothRuby_Membership/_create/integration/.yml
redbooth-ruby-0.1.1 spec/cassettes/RedboothRuby_Membership/_create/integration/.yml
redbooth-ruby-0.1.0 spec/cassettes/RedboothRuby_Membership/_create/integration/.yml
redbooth-ruby-0.0.5 spec/cassettes/RedboothRuby_Membership/_create/integration/.yml
redbooth-ruby-0.0.4 spec/cassettes/RedboothRuby_Membership/_create/integration/.yml
redbooth-ruby-0.0.3 spec/cassettes/RedboothRuby_Membership/_create/integration/.yml