Sha256: 5bee444932bd504e9a20ed245fdc80da11ba78272affa122ca723c75e0121bbe

Contents?: true

Size: 1.23 KB

Versions: 8

Compression:

Stored size: 1.23 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:
      User-Agent:
      - OpenTok-Ruby-SDK/<%= version %>
      X-Opentok-Auth:
      - eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiIsImlzdCI6InByb2plY3QifQ.eyJpc3MiOiIxMjM0NTYiLCJpYXQiOjE0OTI1MTA2NjAsImV4cCI6MTQ5MjUxMDk2MH0.Oh_JHhtEUKK1pPV4s6neXJj_RXI8EcEpJRRpG_2c9U0
  response:
    status:
      code: 200
      message: OK
    headers:
      Server:
      - nginx
      Date:
      - Mon, 17 Mar 2014 08:48:55 GMT
      Content-Type:
      - text/xml
      Connection:
      - keep-alive
      Access-Control-Allow-Origin:
      - '*'
      X-Tb-Host:
      - mantis503-nyc.tokbox.com
      Content-Length:
      - '296'
    body:
      encoding: UTF-8
      string: <?xml version="1.0" encoding="UTF-8" standalone="yes"?><sessions><Session><session_id>1_MX4xMjM0NTZ-MTIuMzQuNTYuNzh-TW9uIE1hciAxNyAwMTo0ODo1NSBQRFQgMjAxNH4wLjM0MTM0MzE0MDIyOTU4Mjh-</session_id><partner_id>123456</partner_id><create_dt>Mon
        Mar 17 01:48:55 PDT 2014</create_dt></Session></sessions>
    http_version:
  recorded_at: Mon, 17 Mar 2014 08:48:54 GMT
recorded_with: VCR 2.8.0

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
opentok-3.1.0 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_sessions_with_a_location_hint.yml
opentok-3.0.3 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_sessions_with_a_location_hint.yml
opentok-3.0.2 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_sessions_with_a_location_hint.yml
opentok-3.0.1 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_sessions_with_a_location_hint.yml
opentok-3.0.0 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_sessions_with_a_location_hint.yml
opentok-2.5.0 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_sessions_with_a_location_hint.yml
opentok-2.4.1 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_sessions_with_a_location_hint.yml
opentok-2.4.0 spec/cassettes/OpenTok_OpenTok/when_initialized_properly/_create_session/creates_sessions_with_a_location_hint.yml