--- http_interactions: - request: method: get uri: http://pubsub.pubnub.com/v2/subscribe/sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f/demo-pnpres,demo.*/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:07 GMT response: status: code: 200 message: OK headers: Date: - Wed, 08 Jun 2016 15:39:07 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":"14654003455247920","r":12},"m":[]}' http_version: recorded_at: Wed, 08 Jun 2016 15:39:07 GMT - request: method: get uri: http://pubsub.pubnub.com/v2/subscribe/sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f/demo-pnpres,demo.*/0?auth=ruby-test-auth-client-one&pnsdk=PubNub-Ruby/4.0.0beta1&t=%7B%22r%22:12,%22t%22:%2214654003455247920%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:10 GMT response: status: code: 200 message: OK headers: Date: - Wed, 08 Jun 2016 15:39:10 GMT Content-Type: - text/javascript; charset="UTF-8" Content-Length: - '741' Connection: - keep-alive Cache-Control: - no-cache Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET body: encoding: UTF-8 string: '{"t":{"t":"14654003487807910","r":12},"m":[{"a":"5","f":0,"i":"ruby-test-uuid-client-two","s":237,"o":{"t":"14654003475556360"},"p":{"t":"14654003475874359","r":12},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo.ruby","d":"test_message","b":"demo.*"},{"a":"5","f":0,"p":{"t":"14654003483628387","r":2},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo-pnpres","d":{"action": "join", "timestamp": 1465400348, "uuid": "ruby-test-uuid-client-two", "occupancy": 2},"b":"demo-pnpres"},{"a":"5","f":0,"p":{"t":"14654003487089617","r":2},"k":"sub-c-b7fb805a-1777-11e6-be83-0619f8945a4f","c":"demo-pnpres","d":{"action": "leave", "timestamp": 1465400348, "uuid": "ruby-test-uuid-client-two", "occupancy": 1},"b":"demo-pnpres"}]}' http_version: recorded_at: Wed, 08 Jun 2016 15:39:10 GMT recorded_with: VCR 3.0.1