--- http_interactions: - request: method: get uri: http://ps.pndsn.com/v2/subscribe/sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f/demo.*,demo.*-pnpres,demo0-pnpres,demo1-pnpres/0?auth=ruby-test-auth-client-one&pnsdk=PubNub-Ruby/4.0.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:39:40 GMT response: status: code: 200 message: OK headers: Date: - Wed, 08 Jun 2016 15:39:40 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":"14654003795206047","r":3},"m":[]}' http_version: recorded_at: Wed, 08 Jun 2016 15:39:40 GMT - request: method: get uri: http://ps.pndsn.com/v2/subscribe/sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f/demo.*,demo.*-pnpres,demo0-pnpres,demo1-pnpres/0?auth=ruby-test-auth-client-one&pnsdk=PubNub-Ruby/4.0.0beta1&t=%7B%22r%22:3,%22t%22:%2214654003795206047%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:39:43 GMT response: status: code: 200 message: OK headers: Date: - Wed, 08 Jun 2016 15:39:44 GMT Content-Type: - text/javascript; charset="UTF-8" Content-Length: - '2877' Connection: - keep-alive Cache-Control: - no-cache Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET body: encoding: UTF-8 string: '{"t":{"t":"14654003831573306","r":3},"m":[{"a":"5","f":0,"i":"ruby-test-uuid-client-two","s":269,"o":{"t":"14654003809834170"},"p":{"t":"14654003810206838","r":12},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo.ruby","d":"test_message","b":"demo.*"},{"a":"5","f":0,"p":{"t":"14654003816772874","r":1},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo1-pnpres","d":{"action": "join", "timestamp": 1465400381, "uuid": "ruby-test-uuid-client-two", "occupancy": 1},"b":"demo1-pnpres"},{"a":"5","f":0,"p":{"t":"14654003817409845","r":1},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo0-pnpres","d":{"action": "join", "timestamp": 1465400381, "uuid": "ruby-test-uuid-client-two", "occupancy": 1},"b":"demo0-pnpres"},{"a":"5","f":0,"p":{"t":"14654003817453146","r":1},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo.*-pnpres","d":{"action": "join", "timestamp": 1465400381, "uuid": "ruby-test-uuid-client-two", "occupancy": 2},"b":"demo.*"},{"a":"5","f":0,"p":{"t":"14654003817453146","r":1},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo.*-pnpres","d":{"action": "join", "timestamp": 1465400381, "uuid": "ruby-test-uuid-client-two", "occupancy": 2},"b":"demo.*"},{"a":"5","f":0,"p":{"t":"14654003822748366","r":1},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo0-pnpres","d":{"action": "leave", "timestamp": 1465400382, "uuid": "ruby-test-uuid-client-two", "occupancy": 0},"b":"demo0-pnpres"},{"a":"5","f":0,"p":{"t":"14654003825380682","r":2},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo1-pnpres","d":{"action": "leave", "timestamp": 1465400382, "uuid": "ruby-test-uuid-client-two", "occupancy": 0},"b":"demo1-pnpres"},{"a":"5","f":0,"p":{"t":"14654003825396734","r":2},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo1-pnpres","d":{"action": "join", "timestamp": 1465400382, "uuid": "ruby-test-uuid-client-two", "occupancy": 1},"b":"demo1-pnpres"},{"a":"5","f":0,"p":{"t":"14654003829250762","r":2},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo.*-pnpres","d":{"action": "leave", "timestamp": 1465400382, "uuid": "ruby-test-uuid-client-two", "occupancy": 1},"b":"demo.*"},{"a":"5","f":0,"p":{"t":"14654003829250762","r":2},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo.*-pnpres","d":{"action": "leave", "timestamp": 1465400382, "uuid": "ruby-test-uuid-client-two", "occupancy": 1},"b":"demo.*"},{"a":"5","f":0,"p":{"t":"14654003829964643","r":1},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo.*-pnpres","d":{"action": "join", "timestamp": 1465400382, "uuid": "ruby-test-uuid-client-two", "occupancy": 2},"b":"demo.*"},{"a":"5","f":0,"p":{"t":"14654003829964643","r":1},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo.*-pnpres","d":{"action": "join", "timestamp": 1465400382, "uuid": "ruby-test-uuid-client-two", "occupancy": 2},"b":"demo.*"}]}' http_version: recorded_at: Wed, 08 Jun 2016 15:39:44 GMT recorded_with: VCR 3.0.1