---
http_interactions:
- request:
    method: get
    uri: http://ps.pndsn.com/v2/subscribe/sub-a-mock-key/demo,demo.*-pnpres/0?auth=ruby-test-auth-client-one&channel-group=demo&pnsdk=PubNub-Ruby/4.1.0beta1&t=%7B%22r%22:0,%22t%22:0%7D&uuid=ruby-test-uuid-client-one
    body:
      encoding: UTF-8
      string: ''
    headers:
      User-Agent:
      - HTTPClient/1.0 (2.8.0, ruby 2.3.0 (2015-12-25))
      Accept:
      - "*/*"
      Date:
      - Wed, 08 Jun 2016 15:48:15 GMT
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Wed, 08 Jun 2016 15:48:16 GMT
      Content-Type:
      - text/javascript; charset="UTF-8"
      Content-Length:
      - '45'
      Connection:
      - keep-alive
      Cache-Control:
      - no-cache
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Allow-Methods:
      - GET
    body:
      encoding: UTF-8
      string: '{"t":{"t":"14654008941150452","r":12},"m":[]}'
    http_version: 
  recorded_at: Wed, 08 Jun 2016 15:48:16 GMT
- request:
    method: get
    uri: http://ps.pndsn.com/v2/subscribe/sub-a-mock-key/demo,demo.*-pnpres/0?auth=ruby-test-auth-client-one&channel-group=demo&pnsdk=PubNub-Ruby/4.1.0beta1&t=%7B%22r%22:12,%22t%22:%2214654008941150452%22%7D&uuid=ruby-test-uuid-client-one
    body:
      encoding: UTF-8
      string: ''
    headers:
      User-Agent:
      - HTTPClient/1.0 (2.8.0, ruby 2.3.0 (2015-12-25))
      Accept:
      - "*/*"
      Date:
      - Wed, 08 Jun 2016 15:48:19 GMT
  response:
    status:
      code: 200
      message: OK
    headers:
      Date:
      - Wed, 08 Jun 2016 15:48:19 GMT
      Content-Type:
      - text/javascript; charset="UTF-8"
      Content-Length:
      - '1425'
      Connection:
      - keep-alive
      Cache-Control:
      - no-cache
      Access-Control-Allow-Origin:
      - "*"
      Access-Control-Allow-Methods:
      - GET
    body:
      encoding: UTF-8
      string: '{"t":{"t":"14654008977897896","r":12},"m":[{"a":"5","f":0,"i":"ruby-test-uuid-client-two","s":43,"o":{"t":"14654008962826690"},"p":{"t":"14654008963150193","r":12},"k":"sub-a-mock-key","c":"demo","d":"+P/LbbzCa1zk0sDK1i6/69V4ROQ8h5MxYRFCpWPlmRM=","b":"demo"},{"a":"5","f":0,"i":"ruby-test-uuid-client-two","s":43,"o":{"t":"14654008962826690"},"p":{"t":"14654008963150193","r":12},"k":"sub-a-mock-key","c":"demo","d":"+P/LbbzCa1zk0sDK1i6/69V4ROQ8h5MxYRFCpWPlmRM=","b":"demo"},{"a":"5","f":0,"i":"ruby-test-uuid-client-two","s":45,"o":{"t":"14654008963438258"},"p":{"t":"14654008963766236","r":12},"k":"sub-a-mock-key","c":"demo","d":"+P/LbbzCa1zk0sDK1i6/69V4ROQ8h5MxYRFCpWPlmRM=","b":"demo"},{"a":"5","f":0,"i":"ruby-test-uuid-client-two","s":45,"o":{"t":"14654008963438258"},"p":{"t":"14654008963766236","r":12},"k":"sub-a-mock-key","c":"demo","d":"+P/LbbzCa1zk0sDK1i6/69V4ROQ8h5MxYRFCpWPlmRM=","b":"demo"},{"a":"5","f":0,"p":{"t":"14654008971463264","r":1},"k":"sub-a-mock-key","c":"demo.*-pnpres","d":{"action":
        "join", "timestamp": 1465400897, "uuid": "ruby-test-uuid-client-two", "occupancy":
        2},"b":"demo.*-pnpres"},{"a":"5","f":0,"p":{"t":"14654008975964656","r":1},"k":"sub-a-mock-key","c":"demo.*-pnpres","d":{"action":
        "leave", "timestamp": 1465400897, "uuid": "ruby-test-uuid-client-two", "occupancy":
        1},"b":"demo.*-pnpres"}]}'
    http_version: 
  recorded_at: Wed, 08 Jun 2016 15:48:19 GMT
recorded_with: VCR 3.0.1
