--- http_interactions: - request: method: get uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/13962834724662579?heartbeat=4&pnsdk=PubNub-Ruby/3.5.1&uuid=5978a0b7-5c8c-45f8-b5d4-618bd36eaf82 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Connection: - keep-alive Keep-Alive: - 30 response: status: code: 200 message: OK headers: Date: - Mon, 31 Mar 2014 16:31:13 GMT Content-Type: - text/javascript; charset="UTF-8" Content-Length: - '38' Connection: - keep-alive Cache-Control: - no-cache Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET body: encoding: UTF-8 string: '[[{"text":"hey"}],"13962834735397816"]' http_version: recorded_at: Mon, 31 Mar 2014 16:31:14 GMT - request: method: get uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/13962834735397816?heartbeat=4&pnsdk=PubNub-Ruby/3.5.1&uuid=5978a0b7-5c8c-45f8-b5d4-618bd36eaf82 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Connection: - keep-alive Keep-Alive: - 30 response: status: code: 200 message: OK headers: Date: - Mon, 31 Mar 2014 16:31:13 GMT Content-Type: - text/javascript; charset="UTF-8" Content-Length: - '38' Connection: - keep-alive Cache-Control: - no-cache Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET body: encoding: UTF-8 string: '[[{"text":"hey"}],"13962834738227474"]' http_version: recorded_at: Mon, 31 Mar 2014 16:31:14 GMT - request: method: get uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/13962834738227474?heartbeat=4&pnsdk=PubNub-Ruby/3.5.1&uuid=5978a0b7-5c8c-45f8-b5d4-618bd36eaf82 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Connection: - keep-alive Keep-Alive: - 30 response: status: code: 200 message: OK headers: Date: - Mon, 31 Mar 2014 16:31:13 GMT Content-Type: - text/javascript; charset="UTF-8" Content-Length: - '38' Connection: - keep-alive Cache-Control: - no-cache Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET body: encoding: UTF-8 string: '[[{"text":"hey"}],"13962834739552478"]' http_version: recorded_at: Mon, 31 Mar 2014 16:31:14 GMT - request: method: get uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/13962834739552478?heartbeat=4&pnsdk=PubNub-Ruby/3.5.1&uuid=5978a0b7-5c8c-45f8-b5d4-618bd36eaf82 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Connection: - keep-alive Keep-Alive: - 30 response: status: code: 200 message: OK headers: Date: - Mon, 31 Mar 2014 16:31:14 GMT Content-Type: - text/javascript; charset="UTF-8" Content-Length: - '38' Connection: - keep-alive Cache-Control: - no-cache Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET body: encoding: UTF-8 string: '[[{"text":"hey"}],"13962834741853632"]' http_version: recorded_at: Mon, 31 Mar 2014 16:31:14 GMT - request: method: get uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/0?heartbeat=4&pnsdk=PubNub-Ruby/3.5.1&uuid=a3191078-9099-4b86-a36c-c03b03568b89 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Connection: - keep-alive Keep-Alive: - 30 response: status: code: 200 message: OK headers: Date: - Mon, 31 Mar 2014 16:44:26 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: '[[],"13962834750580997"]' http_version: recorded_at: Mon, 31 Mar 2014 16:44:26 GMT - request: method: get uri: http://pubsub.pubnub.com/v2/presence/sub-key/demo-36/channel/rubyheartbeatdemo/heartbeat?pnsdk=PubNub-Ruby/3.5.1&state=%7B%7D&uuid=a3191078-9099-4b86-a36c-c03b03568b89 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Connection: - keep-alive Keep-Alive: - 30 response: status: code: 400 message: OK headers: Date: - Mon, 31 Mar 2014 16:44:26 GMT Content-Type: - application/json Content-Length: - '55' Connection: - keep-alive Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET Cache-Control: - no-cache Accept-Ranges: - bytes Age: - '0' Server: - Pubnub Presence body: encoding: UTF-8 string: '{"status": 200, "message": "OK", "service": "Presence"}' http_version: recorded_at: Mon, 31 Mar 2014 16:44:27 GMT - request: method: get uri: http://pubsub.pubnub.com/v2/presence/sub-key/demo-36/channel/rubyheartbeatdemo/heartbeat?pnsdk=PubNub-Ruby/3.5.1&state=%7B%7D&uuid=a3191078-9099-4b86-a36c-c03b03568b89 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Connection: - keep-alive Keep-Alive: - 30 response: status: code: 400 message: OK headers: Date: - Mon, 31 Mar 2014 16:44:27 GMT Content-Type: - application/json Content-Length: - '55' Connection: - keep-alive Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET Cache-Control: - no-cache Accept-Ranges: - bytes Age: - '0' Server: - Pubnub Presence body: encoding: UTF-8 string: '{"status": 200, "message": "OK", "service": "Presence"}' http_version: recorded_at: Mon, 31 Mar 2014 16:44:28 GMT - request: method: get uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/0?heartbeat=12&pnsdk=PubNub-Ruby/3.5.1&uuid=a74c5a27-76e7-4095-8f57-ebe1e4084ea0 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Connection: - keep-alive Keep-Alive: - 30 response: status: code: 200 message: OK headers: Date: - Mon, 31 Mar 2014 16:55:04 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: '[[],"13962834750580997"]' http_version: recorded_at: Mon, 31 Mar 2014 16:55:05 GMT - request: method: get uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/0?heartbeat=4&pnsdk=PubNub-Ruby/3.5.2&uuid=19befa34-c27a-4903-b2c3-bc02812d3c79 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Connection: - keep-alive Keep-Alive: - 30 response: status: code: 200 message: OK headers: Date: - Thu, 10 Apr 2014 10:54:41 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: '[[],"13971272816618646"]' http_version: recorded_at: Thu, 10 Apr 2014 10:54:43 GMT - request: method: get uri: http://pubsub.pubnub.com/subscribe/demo-36/rubyheartbeatdemo/0/0?heartbeat=12&pnsdk=PubNub-Ruby/3.5.2&uuid=c2564912-7b58-4f82-9088-08d8a77c0d99 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Connection: - keep-alive Keep-Alive: - 30 response: status: code: 200 message: OK headers: Date: - Thu, 10 Apr 2014 10:54:41 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: '[[],"13971272816630114"]' http_version: recorded_at: Thu, 10 Apr 2014 10:54:43 GMT - request: method: get uri: http://pubsub.pubnub.com/v2/presence/sub-key/demo-36/channel/rubyheartbeatdemo/heartbeat?pnsdk=PubNub-Ruby/3.5.2&state=%7B%7D&uuid=19befa34-c27a-4903-b2c3-bc02812d3c79 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Connection: - keep-alive Keep-Alive: - 30 response: status: code: 200 message: OK headers: Date: - Thu, 10 Apr 2014 10:54:42 GMT Content-Type: - application/json Content-Length: - '55' Connection: - keep-alive Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET Cache-Control: - no-cache Accept-Ranges: - bytes Age: - '0' Server: - Pubnub Presence body: encoding: UTF-8 string: '{"status": 200, "message": "OK", "service": "Presence"}' http_version: recorded_at: Thu, 10 Apr 2014 10:54:44 GMT - request: method: get uri: http://pubsub.pubnub.com/v2/presence/sub-key/demo-36/channel/rubyheartbeatdemo/heartbeat?pnsdk=PubNub-Ruby/3.5.2&state=%7B%7D&uuid=19befa34-c27a-4903-b2c3-bc02812d3c79 body: encoding: US-ASCII string: '' headers: Accept-Encoding: - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 Accept: - "*/*" User-Agent: - Ruby Connection: - keep-alive Keep-Alive: - 30 response: status: code: 200 message: OK headers: Date: - Thu, 10 Apr 2014 10:54:43 GMT Content-Type: - application/json Content-Length: - '55' Connection: - keep-alive Access-Control-Allow-Origin: - "*" Access-Control-Allow-Methods: - GET Cache-Control: - no-cache Accept-Ranges: - bytes Age: - '1' Server: - Pubnub Presence body: encoding: UTF-8 string: '{"status": 200, "message": "OK", "service": "Presence"}' http_version: recorded_at: Thu, 10 Apr 2014 10:54:45 GMT recorded_with: VCR 2.9.0