Sha256: ead52c0c6a999a985817f7a4d004cf7201dbb91f68f06481229eab7ba00661f8

Contents?: true

Size: 1.11 KB

Versions: 10

Compression:

Stored size: 1.11 KB

Contents

---
http_interactions:
- request:
    method: post
    uri: https://api.opentok.com/session/create
    body:
      encoding: UTF-8
      string: location=12.34.56.78&p2p.preference=enabled
    headers:
      X-Tb-Partner-Auth:
      - 123456:1234567890abcdef1234567890abcdef1234567890
      User-Agent:
      - OpenTok-Ruby-SDK/<%= version %>
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Mon, 17 Mar 2014 09:00:07 GMT
      Content-Type:
      - text/xml
      Connection:
      - keep-alive
      Access-Control-Allow-Origin:
      - '*'
      X-Tb-Host:
      - oms506-nyc.tokbox.com
      Content-Length:
      - '298'
    body:
      encoding: UTF-8
      string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><sessions><Session><session_id>1_MX4xMjM0NTZ-MTIuMzQuNTYuNzh-TW9uIE1hciAxNyAwMjowMDowNyBQRFQgMjAxNH4wLjIxMzUyNTY0ODkyNzMxNjA3fg</session_id><partner_id>123456</partner_id><create_dt>Mon
        Mar 17 02:00:07 PDT 2014</create_dt></Session></sessions>
    http_version: 
  recorded_at: Mon, 17 Mar 2014 09:00:06 GMT
recorded_with: VCR 2.8.0

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
opentok-2.4.0.beta.1 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_with_a_location_hint.yml
opentok-2.3.4 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_with_a_location_hint.yml
opentok-2.3.3 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_with_a_location_hint.yml
opentok-2.3.2 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_with_a_location_hint.yml
opentok-2.3.0 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_with_a_location_hint.yml
opentok-2.2.4 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_with_a_location_hint.yml
opentok-2.2.3 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_with_a_location_hint.yml
opentok-2.2.2 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_with_a_location_hint.yml
opentok-2.2.1 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_with_a_location_hint.yml
opentok-2.2.0 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_relayed_media_sessions_with_a_location_hint.yml