--- http_interactions: - request: method: get uri: http://pubsub.pubnub.com/subscribe/demo/test_channel/0/0?pnsdk=PubNub-Ruby/4.0.0beta7&state=%7B%22test_channel%22:%7B%22one%22:%22two%22,%22three%22:4%7D%7D&uuid=gentest body: encoding: UTF-8 string: '' headers: User-Agent: - HTTPClient/1.0 (2.6.0.1, ruby 2.2.2 (2015-04-13)) Accept: - "*/*" Date: - Thu, 29 Oct 2015 17:47:46 GMT response: status: code: 200 message: OK headers: Date: - Thu, 29 Oct 2015 17:47:45 GMT Content-Type: - text/javascript; charset="UTF-8" Content-Length: - '24' Connection: - keep-alive Cache-Control: - no-cache Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET body: encoding: UTF-8 string: '[[],"14461408655921578"]' http_version: recorded_at: Thu, 29 Oct 2015 17:47:46 GMT - request: method: get uri: http://pubsub.pubnub.com/v2/presence/sub_key/demo/channel/test_channel/uuid/gentest?pnsdk=PubNub-Ruby/4.0.0beta7&uuid=gentest body: encoding: UTF-8 string: '' headers: User-Agent: - HTTPClient/1.0 (2.6.0.1, ruby 2.2.2 (2015-04-13)) Accept: - "*/*" Date: - Thu, 29 Oct 2015 17:47:47 GMT response: status: code: 200 message: OK headers: Date: - Thu, 29 Oct 2015 17:47:46 GMT Content-Type: - text/javascript; charset="UTF-8" Content-Length: - '140' Connection: - keep-alive Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - OPTIONS, GET, POST Cache-Control: - no-cache Accept-Ranges: - bytes Age: - '0' Server: - Pubnub Presence body: encoding: UTF-8 string: '{"status": 200, "uuid": "gentest", "service": "Presence", "message": "OK", "payload": {"three": 4, "one": "two"}, "channel": "test_channel"}' http_version: recorded_at: Thu, 29 Oct 2015 17:47:47 GMT recorded_with: VCR 2.9.3