--- http_interactions: - request: method: get uri: http://ps.pndsn.com/v2/subscribe/sub-a-mock-key/demo0,demo1,demo0-pnpres,demo1-pnpres,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:56:31 GMT response: status: code: 200 message: OK headers: Date: - Wed, 08 Jun 2016 15:56:31 GMT Content-Type: - text/javascript; charset="UTF-8" Content-Length: - '44' Connection: - keep-alive Cache-Control: - no-cache Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET body: encoding: UTF-8 string: '{"t":{"t":"14654013901994596","r":3},"m":[]}' http_version: recorded_at: Wed, 08 Jun 2016 15:56:31 GMT - request: method: get uri: http://ps.pndsn.com/v2/subscribe/sub-a-mock-key/demo0,demo1,demo0-pnpres,demo1-pnpres,demo.*,demo.*-pnpres/0?auth=ruby-test-auth-client-one&channel-group=demo&pnsdk=PubNub-Ruby/4.1.0beta1&t=%7B%22r%22:3,%22t%22:%2214654013901994596%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:56:34 GMT response: status: code: 200 message: OK headers: Date: - Wed, 08 Jun 2016 15:56:34 GMT Content-Type: - text/javascript; charset="UTF-8" Content-Length: - '2858' Connection: - keep-alive Cache-Control: - no-cache Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET body: encoding: UTF-8 string: '{"t":{"t":"14654013937884476","r":3},"m":[{"a":"5","f":0,"i":"ruby-test-uuid-client-two","s":657,"o":{"t":"14654013914949700"},"p":{"t":"14654013915270097","r":12},"k":"sub-a-mock-key","c":"demo0","d":"+P/LbbzCa1zk0sDK1i6/69V4ROQ8h5MxYRFCpWPlmRM=","b":"demo0"},{"a":"5","f":0,"i":"ruby-test-uuid-client-two","s":659,"o":{"t":"14654013915552918"},"p":{"t":"14654013915875497","r":12},"k":"sub-a-mock-key","c":"demo1","d":"+P/LbbzCa1zk0sDK1i6/69V4ROQ8h5MxYRFCpWPlmRM=","b":"demo1"},{"a":"5","f":0,"i":"ruby-test-uuid-client-two","s":661,"o":{"t":"14654013916160020"},"p":{"t":"14654013916487592","r":12},"k":"sub-a-mock-key","c":"demo.ruby","d":"+P/LbbzCa1zk0sDK1i6/69V4ROQ8h5MxYRFCpWPlmRM=","b":"demo.*"},{"a":"5","f":0,"i":"ruby-test-uuid-client-two","s":663,"o":{"t":"14654013916773892"},"p":{"t":"14654013917092806","r":12},"k":"sub-a-mock-key","c":"demo","d":"+P/LbbzCa1zk0sDK1i6/69V4ROQ8h5MxYRFCpWPlmRM=","b":"demo"},{"a":"5","f":0,"p":{"t":"14654013922016381","r":1},"k":"sub-a-mock-key","c":"demo1-pnpres","d":{"action": "join", "timestamp": 1465401392, "uuid": "ruby-test-uuid-client-two", "occupancy": 2},"b":"demo1-pnpres"},{"a":"5","f":0,"p":{"t":"14654013922641762","r":1},"k":"sub-a-mock-key","c":"demo.*-pnpres","d":{"action": "join", "timestamp": 1465401392, "uuid": "ruby-test-uuid-client-two", "occupancy": 2},"b":"demo.*"},{"a":"5","f":0,"p":{"t":"14654013922641762","r":1},"k":"sub-a-mock-key","c":"demo.*-pnpres","d":{"action": "join", "timestamp": 1465401392, "uuid": "ruby-test-uuid-client-two", "occupancy": 2},"b":"demo.*"},{"a":"5","f":0,"p":{"t":"14654013929339529","r":1},"k":"sub-a-mock-key","c":"demo0-pnpres","d":{"action": "leave", "timestamp": 1465401392, "uuid": "ruby-test-uuid-client-two", "occupancy": 1},"b":"demo0-pnpres"},{"a":"5","f":0,"p":{"t":"14654013932063233","r":2},"k":"sub-a-mock-key","c":"demo1-pnpres","d":{"action": "leave", "timestamp": 1465401393, "uuid": "ruby-test-uuid-client-two", "occupancy": 1},"b":"demo1-pnpres"},{"a":"5","f":0,"p":{"t":"14654013932521504","r":2},"k":"sub-a-mock-key","c":"demo1-pnpres","d":{"action": "join", "timestamp": 1465401393, "uuid": "ruby-test-uuid-client-two", "occupancy": 2},"b":"demo1-pnpres"},{"a":"5","f":0,"p":{"t":"14654013937112121","r":1},"k":"sub-a-mock-key","c":"demo.*-pnpres","d":{"action": "leave", "timestamp": 1465401393, "uuid": "ruby-test-uuid-client-two", "occupancy": 1},"b":"demo.*"},{"a":"5","f":0,"p":{"t":"14654013937112121","r":1},"k":"sub-a-mock-key","c":"demo.*-pnpres","d":{"action": "leave", "timestamp": 1465401393, "uuid": "ruby-test-uuid-client-two", "occupancy": 1},"b":"demo.*"}]}' http_version: recorded_at: Wed, 08 Jun 2016 15:56:34 GMT recorded_with: VCR 3.0.1