pubnub 3.7.12 → 3.8.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of pubnub might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/.codeclimate.yml +15 -0
- data/.rubocop.yml +16 -0
- data/.travis.yml +16 -3
- data/.yardoc/checksums +43 -0
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/.yardoc/proxy_types +0 -0
- data/.yardopts +2 -0
- data/CHANGELOG.md +2 -0
- data/Gemfile +10 -6
- data/Gemfile.lock +105 -25
- data/LICENSE.txt +2 -0
- data/README.md +131 -204
- data/Rakefile +0 -1
- data/VERSION +1 -1
- data/doc/Object.html +287 -0
- data/doc/Pubnub.html +367 -0
- data/doc/Pubnub/ArgumentError.html +147 -0
- data/doc/Pubnub/Audit.html +256 -0
- data/doc/Pubnub/ChannelRegistration.html +245 -0
- data/doc/Pubnub/Client.html +1145 -0
- data/doc/Pubnub/Client/Connections.html +211 -0
- data/doc/Pubnub/Client/Events.html +132 -0
- data/doc/Pubnub/Client/PagedHistory.html +264 -0
- data/doc/Pubnub/Configuration.html +221 -0
- data/doc/Pubnub/Crypto.html +364 -0
- data/doc/Pubnub/Envelope.html +1962 -0
- data/doc/Pubnub/Error.html +386 -0
- data/doc/Pubnub/ErrorEnvelope.html +312 -0
- data/doc/Pubnub/Event.html +1163 -0
- data/doc/Pubnub/Formatter.html +868 -0
- data/doc/Pubnub/Grant.html +258 -0
- data/doc/Pubnub/Heart.html +355 -0
- data/doc/Pubnub/Heartbeat.html +254 -0
- data/doc/Pubnub/HereNow.html +245 -0
- data/doc/Pubnub/History.html +243 -0
- data/doc/Pubnub/InitializationError.html +147 -0
- data/doc/Pubnub/JSONParseError.html +147 -0
- data/doc/Pubnub/Leave.html +305 -0
- data/doc/Pubnub/Message.html +125 -0
- data/doc/Pubnub/Message/AddSubscription.html +298 -0
- data/doc/Pubnub/Message/Done.html +298 -0
- data/doc/Pubnub/Message/InternalMessage.html +124 -0
- data/doc/Pubnub/Message/RemoveSubscription.html +298 -0
- data/doc/Pubnub/Message/Stop.html +298 -0
- data/doc/Pubnub/OriginManager.html +583 -0
- data/doc/Pubnub/PAM.html +642 -0
- data/doc/Pubnub/Presence.html +353 -0
- data/doc/Pubnub/Publish.html +243 -0
- data/doc/Pubnub/RequestDispatcher.html +291 -0
- data/doc/Pubnub/RequestError.html +147 -0
- data/doc/Pubnub/ResponseError.html +147 -0
- data/doc/Pubnub/Revoke.html +258 -0
- data/doc/Pubnub/SingleEvent.html +158 -0
- data/doc/Pubnub/State.html +161 -0
- data/doc/Pubnub/Subscribe.html +293 -0
- data/doc/Pubnub/SubscribeEvent.html +559 -0
- data/doc/Pubnub/SubscribeEvent/Adding.html +316 -0
- data/doc/Pubnub/SubscribeEvent/Formatter.html +115 -0
- data/doc/Pubnub/SubscribeEvent/Heartbeat.html +119 -0
- data/doc/Pubnub/SubscribeEvent/Removing.html +324 -0
- data/doc/Pubnub/Time.html +243 -0
- data/doc/Pubnub/UUID.html +190 -0
- data/doc/Pubnub/Validator.html +127 -0
- data/doc/Pubnub/Validator/Client.html +203 -0
- data/doc/Pubnub/Validator/CommonValidator.html +381 -0
- data/doc/Pubnub/Validator/Publish.html +197 -0
- data/doc/Pubnub/Validator/Subscribe.html +197 -0
- data/doc/Pubnub/WhereNow.html +247 -0
- data/doc/_index.html +629 -0
- data/doc/class_list.html +58 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +339 -0
- data/doc/file.README.html +772 -0
- data/doc/file_list.html +60 -0
- data/doc/frames.html +26 -0
- data/doc/index.html +772 -0
- data/doc/js/app.js +219 -0
- data/doc/js/full_list.js +181 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +885 -0
- data/doc/top-level-namespace.html +114 -0
- data/fixtures/vcr_cassettes/client/connection-for-non-subscribe.yml +44 -0
- data/fixtures/vcr_cassettes/client/connection-for-subscribe.yml +44 -0
- data/fixtures/vcr_cassettes/client/connection_callbacks_0.yml +40 -0
- data/fixtures/vcr_cassettes/client/connection_callbacks_1.yml +40 -0
- data/fixtures/vcr_cassettes/client/connection_callbacks_2.yml +40 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-block-invalid-200-async.yml → integration/audit/audit-nonssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-block-invalid-200-sync.yml → integration/audit/audit-nonssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-block-invalid-non-200-async.yml → integration/audit/audit-nonssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-block-invalid-non-200-sync.yml → integration/audit/audit-nonssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-block-valid-200-async.yml → integration/audit/audit-nonssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-block-valid-200-sync.yml → integration/audit/audit-nonssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-block-valid-non-200-async.yml → integration/audit/audit-nonssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-block-valid-non-200-sync.yml → integration/audit/audit-nonssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-parameter-invalid-200-async.yml → integration/audit/audit-nonssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-parameter-invalid-200-sync.yml → integration/audit/audit-nonssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-parameter-invalid-non-200-async.yml → integration/audit/audit-nonssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-parameter-invalid-non-200-sync.yml → integration/audit/audit-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-parameter-valid-200-async.yml → integration/audit/audit-nonssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-parameter-valid-200-sync.yml → integration/audit/audit-nonssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-parameter-valid-non-200-async.yml → integration/audit/audit-nonssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-nonssl-parameter-valid-non-200-sync.yml → integration/audit/audit-nonssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-block-invalid-200-async.yml → integration/audit/audit-ssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-block-invalid-200-sync.yml → integration/audit/audit-ssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-block-invalid-non-200-async.yml → integration/audit/audit-ssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-block-invalid-non-200-sync.yml → integration/audit/audit-ssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-block-valid-200-async.yml → integration/audit/audit-ssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-block-valid-200-sync.yml → integration/audit/audit-ssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-block-valid-non-200-async.yml → integration/audit/audit-ssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-block-valid-non-200-sync.yml → integration/audit/audit-ssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-parameter-invalid-200-async.yml → integration/audit/audit-ssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-parameter-invalid-200-sync.yml → integration/audit/audit-ssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-parameter-invalid-non-200-async.yml → integration/audit/audit-ssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-parameter-invalid-non-200-sync.yml → integration/audit/audit-ssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-parameter-valid-200-async.yml → integration/audit/audit-ssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-parameter-valid-200-sync.yml → integration/audit/audit-ssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-parameter-valid-non-200-async.yml → integration/audit/audit-ssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{audit-ssl-parameter-valid-non-200-sync.yml → integration/audit/audit-ssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/add-c-as-array.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/add-c-as-csv.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/add-c-as-string.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/add-c-as-symbol.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/audit-cg.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/audit-ns.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/grant-cg.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/grant-ns.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/here_now-cg.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/leave-cg-c.yml +0 -0
- data/fixtures/vcr_cassettes/integration/channel_groups/leave-cg.yml +175 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/list-all-c-in-in-ns-cg.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/list-all-c-in-non-ns-cg.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/list-all-cg-in-ns.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/list-all-namespaces.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/list-all-non-namespaced-cg.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/remove-c-as-array.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/remove-c-as-csv.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/remove-c-as-string.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/remove-c-as-symbol.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/remove-cg-from-ns-csv.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/remove-ns-csv.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/subscribe-cg-and-channel.yml +0 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_groups}/subscribe-cg-only.yml +0 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/add-c-as-array.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/add-c-as-csv.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/add-c-as-string.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/add-c-as-symbol.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/audit-cg.yml +44 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/audit-ns.yml +44 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/grant-cg.yml +44 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/grant-ns.yml +44 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/here_now-cg.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/leave-cg-c.yml +132 -0
- data/fixtures/vcr_cassettes/{cg → integration/channel_registration}/leave-cg.yml +0 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/list-all-c-in-in-ns-cg.yml +50 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/list-all-c-in-non-ns-cg.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/list-all-cg-in-ns.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/list-all-namespaces.yml +50 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/list-all-non-namespaced-cg.yml +49 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/remove-c-as-array.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/remove-c-as-csv.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/remove-c-as-string.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/remove-c-as-symbol.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/remove-cg-from-ns-csv.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/remove-ns-csv.yml +51 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/subscribe-cg-and-channel.yml +85 -0
- data/fixtures/vcr_cassettes/integration/channel_registration/subscribe-cg-only.yml +85 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-application-level.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence-multi-1.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence-multi-2.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence-multi-3.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence-multi-4.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-invalid-200-async.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-invalid-200-sync.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-invalid-non-200-async.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-invalid-non-200-sync.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-valid-200-async.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-valid-200-sync.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-valid-non-200-async.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-valid-non-200-sync.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-invalid-200-async.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-invalid-200-sync.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-invalid-non-200-async.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-invalid-non-200-sync.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-valid-200-async.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-valid-200-sync.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-valid-non-200-async.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-valid-non-200-sync.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-invalid-200-async.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-invalid-200-sync.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-invalid-non-200-async.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-invalid-non-200-sync.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-valid-200-async.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-valid-200-sync.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-valid-non-200-async.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-valid-non-200-sync.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-invalid-200-async.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-invalid-200-sync.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-invalid-non-200-async.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-invalid-non-200-sync.yml +44 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-valid-200-async.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-valid-200-sync.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-valid-non-200-async.yml +45 -0
- data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-valid-non-200-sync.yml +45 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-block-invalid-200-async.yml → integration/here_now/here_now-nonssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-block-invalid-200-sync.yml → integration/here_now/here_now-nonssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-block-invalid-non-200-async.yml → integration/here_now/here_now-nonssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-block-invalid-non-200-sync.yml → integration/here_now/here_now-nonssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-block-valid-200-async.yml → integration/here_now/here_now-nonssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-block-valid-200-sync.yml → integration/here_now/here_now-nonssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-block-valid-non-200-async.yml → integration/here_now/here_now-nonssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-block-valid-non-200-sync.yml → integration/here_now/here_now-nonssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-invalid-200-async.yml → integration/here_now/here_now-nonssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-invalid-200-sync.yml → integration/here_now/here_now-nonssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-invalid-non-200-async.yml → integration/here_now/here_now-nonssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-invalid-non-200-sync.yml → integration/here_now/here_now-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-valid-200-async.yml → integration/here_now/here_now-nonssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-valid-200-sync.yml → integration/here_now/here_now-nonssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-valid-non-200-async.yml → integration/here_now/here_now-nonssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-nonssl-parameter-valid-non-200-sync.yml → integration/here_now/here_now-nonssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-block-invalid-200-async.yml → integration/here_now/here_now-ssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-block-invalid-200-sync.yml → integration/here_now/here_now-ssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-block-invalid-non-200-async.yml → integration/here_now/here_now-ssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-block-invalid-non-200-sync.yml → integration/here_now/here_now-ssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-block-valid-200-async.yml → integration/here_now/here_now-ssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-block-valid-200-sync.yml → integration/here_now/here_now-ssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-block-valid-non-200-async.yml → integration/here_now/here_now-ssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-block-valid-non-200-sync.yml → integration/here_now/here_now-ssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-parameter-invalid-200-async.yml → integration/here_now/here_now-ssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-parameter-invalid-200-sync.yml → integration/here_now/here_now-ssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-parameter-invalid-non-200-async.yml → integration/here_now/here_now-ssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-parameter-invalid-non-200-sync.yml → integration/here_now/here_now-ssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-parameter-valid-200-async.yml → integration/here_now/here_now-ssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-parameter-valid-200-sync.yml → integration/here_now/here_now-ssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-parameter-valid-non-200-async.yml → integration/here_now/here_now-ssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now-ssl-parameter-valid-non-200-sync.yml → integration/here_now/here_now-ssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-nonssl-block-invalid-200-sync.yml → integration/here_now/here_now_global-nonssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-nonssl-block-invalid-non-200-sync.yml → integration/here_now/here_now_global-nonssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-nonssl-block-valid-200-sync.yml → integration/here_now/here_now_global-nonssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-nonssl-block-valid-non-200-sync.yml → integration/here_now/here_now_global-nonssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-nonssl-parameter-invalid-200-sync.yml → integration/here_now/here_now_global-nonssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-nonssl-parameter-invalid-non-200-sync.yml → integration/here_now/here_now_global-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-nonssl-parameter-valid-200-sync.yml → integration/here_now/here_now_global-nonssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-nonssl-parameter-valid-non-200-sync.yml → integration/here_now/here_now_global-nonssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-ssl-block-invalid-200-sync.yml → integration/here_now/here_now_global-ssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-ssl-block-invalid-non-200-sync.yml → integration/here_now/here_now_global-ssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-ssl-block-valid-200-async.yml → integration/here_now/here_now_global-ssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-ssl-block-valid-200-sync.yml → integration/here_now/here_now_global-ssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-ssl-block-valid-non-200-sync.yml → integration/here_now/here_now_global-ssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-ssl-parameter-invalid-200-sync.yml → integration/here_now/here_now_global-ssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-ssl-parameter-invalid-non-200-sync.yml → integration/here_now/here_now_global-ssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-ssl-parameter-valid-200-sync.yml → integration/here_now/here_now_global-ssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{here_now_global-ssl-parameter-valid-non-200-sync.yml → integration/here_now/here_now_global-ssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-block-invalid-200-async.yml → integration/history/history-nonssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-block-invalid-200-sync.yml → integration/history/history-nonssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-block-invalid-non-200-async.yml → integration/history/history-nonssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-block-invalid-non-200-sync.yml → integration/history/history-nonssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-block-valid-200-async.yml → integration/history/history-nonssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-block-valid-200-sync.yml → integration/history/history-nonssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-block-valid-non-200-async.yml → integration/history/history-nonssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-block-valid-non-200-sync.yml → integration/history/history-nonssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-parameter-invalid-200-async.yml → integration/history/history-nonssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-parameter-invalid-200-sync.yml → integration/history/history-nonssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-parameter-invalid-non-200-async.yml → integration/history/history-nonssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-parameter-invalid-non-200-sync.yml → integration/history/history-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-parameter-valid-200-async.yml → integration/history/history-nonssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-parameter-valid-200-sync.yml → integration/history/history-nonssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-parameter-valid-non-200-async.yml → integration/history/history-nonssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-nonssl-parameter-valid-non-200-sync.yml → integration/history/history-nonssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-block-invalid-200-async.yml → integration/history/history-ssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-block-invalid-200-sync.yml → integration/history/history-ssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-block-invalid-non-200-async.yml → integration/history/history-ssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-block-invalid-non-200-sync.yml → integration/history/history-ssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-block-valid-200-async.yml → integration/history/history-ssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-block-valid-200-sync.yml → integration/history/history-ssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-block-valid-non-200-async.yml → integration/history/history-ssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-block-valid-non-200-sync.yml → integration/history/history-ssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-parameter-invalid-200-async.yml → integration/history/history-ssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-parameter-invalid-200-sync.yml → integration/history/history-ssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-parameter-invalid-non-200-async.yml → integration/history/history-ssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-parameter-invalid-non-200-sync.yml → integration/history/history-ssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-parameter-valid-200-async.yml → integration/history/history-ssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-parameter-valid-200-sync.yml → integration/history/history-ssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-parameter-valid-non-200-async.yml → integration/history/history-ssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{history-ssl-parameter-valid-non-200-sync.yml → integration/history/history-ssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-block-invalid-200-async.yml → integration/leave/leave-nonssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-block-invalid-200-sync.yml → integration/leave/leave-nonssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-block-invalid-non-200-async.yml → integration/leave/leave-nonssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-block-invalid-non-200-sync.yml → integration/leave/leave-nonssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-block-valid-200-async.yml → integration/leave/leave-nonssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-block-valid-200-sync.yml → integration/leave/leave-nonssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-block-valid-non-200-async.yml → integration/leave/leave-nonssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-block-valid-non-200-sync.yml → integration/leave/leave-nonssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-parameter-invalid-200-async.yml → integration/leave/leave-nonssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-parameter-invalid-200-sync.yml → integration/leave/leave-nonssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-parameter-invalid-non-200-async.yml → integration/leave/leave-nonssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-parameter-invalid-non-200-sync.yml → integration/leave/leave-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-parameter-valid-200-async.yml → integration/leave/leave-nonssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-parameter-valid-200-sync.yml → integration/leave/leave-nonssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-parameter-valid-non-200-async.yml → integration/leave/leave-nonssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-nonssl-parameter-valid-non-200-sync.yml → integration/leave/leave-nonssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-block-invalid-200-async.yml → integration/leave/leave-ssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-block-invalid-200-sync.yml → integration/leave/leave-ssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-block-invalid-non-200-async.yml → integration/leave/leave-ssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-block-invalid-non-200-sync.yml → integration/leave/leave-ssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-block-valid-200-async.yml → integration/leave/leave-ssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-block-valid-200-sync.yml → integration/leave/leave-ssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-block-valid-non-200-async.yml → integration/leave/leave-ssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-block-valid-non-200-sync.yml → integration/leave/leave-ssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-parameter-invalid-200-async.yml → integration/leave/leave-ssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-parameter-invalid-200-sync.yml → integration/leave/leave-ssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-parameter-invalid-non-200-async.yml → integration/leave/leave-ssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-parameter-invalid-non-200-sync.yml → integration/leave/leave-ssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-parameter-valid-200-async.yml → integration/leave/leave-ssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-parameter-valid-200-sync.yml → integration/leave/leave-ssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-parameter-valid-non-200-async.yml → integration/leave/leave-ssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{leave-ssl-parameter-valid-non-200-sync.yml → integration/leave/leave-ssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-block-invalid-200-async.yml → integration/presence/presence-nonssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-block-invalid-200-sync.yml → integration/presence/presence-nonssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-block-invalid-non-200-async.yml → integration/presence/presence-nonssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-block-invalid-non-200-sync.yml → integration/presence/presence-nonssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-block-valid-200-async.yml → integration/presence/presence-nonssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-block-valid-200-sync.yml → integration/presence/presence-nonssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-block-valid-non-200-async.yml → integration/presence/presence-nonssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-block-valid-non-200-sync.yml → integration/presence/presence-nonssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-parameter-invalid-200-async.yml → integration/presence/presence-nonssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-parameter-invalid-200-sync.yml → integration/presence/presence-nonssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-parameter-invalid-non-200-async.yml → integration/presence/presence-nonssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-parameter-invalid-non-200-sync.yml → integration/presence/presence-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-parameter-valid-200-async.yml → integration/presence/presence-nonssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-parameter-valid-200-sync.yml → integration/presence/presence-nonssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-parameter-valid-non-200-async.yml → integration/presence/presence-nonssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-nonssl-parameter-valid-non-200-sync.yml → integration/presence/presence-nonssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-block-invalid-200-async.yml → integration/presence/presence-ssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-block-invalid-200-sync.yml → integration/presence/presence-ssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-block-invalid-non-200-async.yml → integration/presence/presence-ssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-block-invalid-non-200-sync.yml → integration/presence/presence-ssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-block-valid-200-async.yml → integration/presence/presence-ssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-block-valid-200-sync-new.yml → integration/presence/presence-ssl-block-valid-200-sync-new.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-block-valid-200-sync.yml → integration/presence/presence-ssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-block-valid-non-200-async.yml → integration/presence/presence-ssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-block-valid-non-200-sync.yml → integration/presence/presence-ssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-parameter-invalid-200-async.yml → integration/presence/presence-ssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-parameter-invalid-200-sync.yml → integration/presence/presence-ssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-parameter-invalid-non-200-async.yml → integration/presence/presence-ssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-parameter-invalid-non-200-sync.yml → integration/presence/presence-ssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-parameter-valid-200-async.yml → integration/presence/presence-ssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-parameter-valid-200-sync.yml → integration/presence/presence-ssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-parameter-valid-non-200-async.yml → integration/presence/presence-ssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{presence-ssl-parameter-valid-non-200-sync.yml → integration/presence/presence-ssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-invalid-200-async.yml → integration/presence/v3-presence-nonssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-invalid-200-sync.yml → integration/presence/v3-presence-nonssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-invalid-non-200-async.yml → integration/presence/v3-presence-nonssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-invalid-non-200-sync.yml → integration/presence/v3-presence-nonssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-valid-200-async.yml → integration/presence/v3-presence-nonssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-valid-200-sync.yml → integration/presence/v3-presence-nonssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-valid-non-200-async.yml → integration/presence/v3-presence-nonssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-block-valid-non-200-sync.yml → integration/presence/v3-presence-nonssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-invalid-200-async.yml → integration/presence/v3-presence-nonssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-invalid-200-sync.yml → integration/presence/v3-presence-nonssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-invalid-non-200-async.yml → integration/presence/v3-presence-nonssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-invalid-non-200-sync.yml → integration/presence/v3-presence-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-valid-200-async.yml → integration/presence/v3-presence-nonssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-valid-200-sync.yml → integration/presence/v3-presence-nonssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-valid-non-200-async.yml → integration/presence/v3-presence-nonssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-nonssl-parameter-valid-non-200-sync.yml → integration/presence/v3-presence-nonssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-block-invalid-200-async.yml → integration/presence/v3-presence-ssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-block-invalid-200-sync.yml → integration/presence/v3-presence-ssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-block-invalid-non-200-async.yml → integration/presence/v3-presence-ssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-block-invalid-non-200-sync.yml → integration/presence/v3-presence-ssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-block-valid-200-async.yml → integration/presence/v3-presence-ssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-block-valid-200-sync.yml → integration/presence/v3-presence-ssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-block-valid-non-200-async.yml → integration/presence/v3-presence-ssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-block-valid-non-200-sync.yml → integration/presence/v3-presence-ssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-invalid-200-async.yml → integration/presence/v3-presence-ssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-invalid-200-sync.yml → integration/presence/v3-presence-ssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-invalid-non-200-async.yml → integration/presence/v3-presence-ssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-invalid-non-200-sync.yml → integration/presence/v3-presence-ssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-valid-200-async.yml → integration/presence/v3-presence-ssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-valid-200-sync.yml → integration/presence/v3-presence-ssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-valid-non-200-async.yml → integration/presence/v3-presence-ssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{v3-presence-ssl-parameter-valid-non-200-sync.yml → integration/presence/v3-presence-ssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-array-of-hashes.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-auth_key-200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-auth_key-200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-auth_key-non200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-auth_key-non200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-non200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-http-non200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-auth_key-200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-auth_key-200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-auth_key-non200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-auth_key-non200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-non200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-encrypted-https-non200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-auth_key-200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-auth_key-200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-auth_key-non200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-auth_key-non200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-non200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-http-non200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-auth_key-200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-auth_key-200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-auth_key-non200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-auth_key-non200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-non200-invalid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-https-non200-valid.yml +0 -0
- data/fixtures/vcr_cassettes/{new_ones → integration}/publish/publish-plain-array-of-hashes.yml +0 -0
- data/fixtures/vcr_cassettes/{revoke-application-level.yml → integration/revoke/revoke-application-level.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-block-invalid-200-async.yml → integration/revoke/revoke-nonssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-block-invalid-200-sync.yml → integration/revoke/revoke-nonssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-block-invalid-non-200-async.yml → integration/revoke/revoke-nonssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-block-invalid-non-200-sync.yml → integration/revoke/revoke-nonssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-block-valid-200-async.yml → integration/revoke/revoke-nonssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-block-valid-200-sync.yml → integration/revoke/revoke-nonssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-block-valid-non-200-async.yml → integration/revoke/revoke-nonssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-block-valid-non-200-sync.yml → integration/revoke/revoke-nonssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-invalid-200-async.yml → integration/revoke/revoke-nonssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-invalid-200-sync.yml → integration/revoke/revoke-nonssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-invalid-non-200-async.yml → integration/revoke/revoke-nonssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-invalid-non-200-sync.yml → integration/revoke/revoke-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-valid-200-async.yml → integration/revoke/revoke-nonssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-valid-200-sync.yml → integration/revoke/revoke-nonssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-valid-non-200-async.yml → integration/revoke/revoke-nonssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-nonssl-parameter-valid-non-200-sync.yml → integration/revoke/revoke-nonssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-block-invalid-200-async.yml → integration/revoke/revoke-ssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-block-invalid-200-sync.yml → integration/revoke/revoke-ssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-block-invalid-non-200-async.yml → integration/revoke/revoke-ssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-block-invalid-non-200-sync.yml → integration/revoke/revoke-ssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-block-valid-200-async.yml → integration/revoke/revoke-ssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-block-valid-200-sync.yml → integration/revoke/revoke-ssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-block-valid-non-200-async.yml → integration/revoke/revoke-ssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-block-valid-non-200-sync.yml → integration/revoke/revoke-ssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-parameter-invalid-200-async.yml → integration/revoke/revoke-ssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-parameter-invalid-200-sync.yml → integration/revoke/revoke-ssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-parameter-invalid-non-200-async.yml → integration/revoke/revoke-ssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-parameter-invalid-non-200-sync.yml → integration/revoke/revoke-ssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-parameter-valid-200-async.yml → integration/revoke/revoke-ssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-parameter-valid-200-sync.yml → integration/revoke/revoke-ssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-parameter-valid-non-200-async.yml → integration/revoke/revoke-ssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{revoke-ssl-parameter-valid-non-200-sync.yml → integration/revoke/revoke-ssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/integration/set_state/1.yml +47 -0
- data/fixtures/vcr_cassettes/integration/set_state/11.yml +84 -0
- data/fixtures/vcr_cassettes/integration/set_state/12.yml +121 -0
- data/fixtures/vcr_cassettes/integration/set_state/13.yml +128 -0
- data/fixtures/vcr_cassettes/integration/set_state/2.yml +91 -0
- data/fixtures/vcr_cassettes/integration/set_state/3.yml +84 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-block-invalid-200-async.yml → integration/subscribe/subscribe-nonssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-block-invalid-200-sync.yml → integration/subscribe/subscribe-nonssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-block-invalid-non-200-async.yml → integration/subscribe/subscribe-nonssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-block-invalid-non-200-sync.yml → integration/subscribe/subscribe-nonssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-block-valid-200-async.yml → integration/subscribe/subscribe-nonssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-block-valid-200-sync.yml → integration/subscribe/subscribe-nonssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-block-valid-non-200-async.yml → integration/subscribe/subscribe-nonssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-block-valid-non-200-sync.yml → integration/subscribe/subscribe-nonssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-invalid-200-async.yml → integration/subscribe/subscribe-nonssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-invalid-200-sync.yml → integration/subscribe/subscribe-nonssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-invalid-non-200-async.yml → integration/subscribe/subscribe-nonssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-invalid-non-200-sync.yml → integration/subscribe/subscribe-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-valid-200-async.yml → integration/subscribe/subscribe-nonssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-valid-200-sync.yml → integration/subscribe/subscribe-nonssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-valid-non-200-async.yml → integration/subscribe/subscribe-nonssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-nonssl-parameter-valid-non-200-sync.yml → integration/subscribe/subscribe-nonssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-block-invalid-200-async.yml → integration/subscribe/subscribe-ssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-block-invalid-200-sync.yml → integration/subscribe/subscribe-ssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-block-invalid-non-200-async.yml → integration/subscribe/subscribe-ssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-block-invalid-non-200-sync.yml → integration/subscribe/subscribe-ssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-block-valid-200-async.yml → integration/subscribe/subscribe-ssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-block-valid-200-sync.yml → integration/subscribe/subscribe-ssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-block-valid-non-200-async.yml → integration/subscribe/subscribe-ssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-block-valid-non-200-sync.yml → integration/subscribe/subscribe-ssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-invalid-200-async.yml → integration/subscribe/subscribe-ssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-invalid-200-sync.yml → integration/subscribe/subscribe-ssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-invalid-non-200-async.yml → integration/subscribe/subscribe-ssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-invalid-non-200-sync.yml → integration/subscribe/subscribe-ssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-valid-200-async.yml → integration/subscribe/subscribe-ssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-valid-200-sync.yml → integration/subscribe/subscribe-ssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-valid-non-200-async.yml → integration/subscribe/subscribe-ssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscribe-ssl-parameter-valid-non-200-sync.yml → integration/subscribe/subscribe-ssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscription-event-invalid-json.yml → integration/subscribe/subscription-event-invalid-json.yml} +0 -0
- data/fixtures/vcr_cassettes/{subscription-event-non200.yml → integration/subscribe/subscription-event-non200.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-block-invalid-200-async.yml → integration/time/time-nonssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-block-invalid-200-sync.yml → integration/time/time-nonssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-block-invalid-non-200-async.yml → integration/time/time-nonssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-block-invalid-non-200-sync.yml → integration/time/time-nonssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-block-valid-200-async.yml → integration/time/time-nonssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-block-valid-200-sync.yml → integration/time/time-nonssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-block-valid-non-200-async.yml → integration/time/time-nonssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-block-valid-non-200-sync.yml → integration/time/time-nonssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-parameter-invalid-200-async.yml → integration/time/time-nonssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-parameter-invalid-200-sync.yml → integration/time/time-nonssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-parameter-invalid-non-200-async.yml → integration/time/time-nonssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-parameter-invalid-non-200-sync.yml → integration/time/time-nonssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-parameter-valid-200-async.yml → integration/time/time-nonssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-parameter-valid-200-sync.yml → integration/time/time-nonssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-parameter-valid-non-200-async.yml → integration/time/time-nonssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-nonssl-parameter-valid-non-200-sync.yml → integration/time/time-nonssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-block-invalid-200-async.yml → integration/time/time-ssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-block-invalid-200-sync.yml → integration/time/time-ssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-block-invalid-non-200-async.yml → integration/time/time-ssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-block-invalid-non-200-sync.yml → integration/time/time-ssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-block-valid-200-async.yml → integration/time/time-ssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-block-valid-200-sync.yml → integration/time/time-ssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-block-valid-non-200-async.yml → integration/time/time-ssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-block-valid-non-200-sync.yml → integration/time/time-ssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-parameter-invalid-200-async.yml → integration/time/time-ssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-parameter-invalid-200-sync.yml → integration/time/time-ssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-parameter-invalid-non-200-async.yml → integration/time/time-ssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-parameter-invalid-non-200-sync.yml → integration/time/time-ssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-parameter-valid-200-async.yml → integration/time/time-ssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-parameter-valid-200-sync.yml → integration/time/time-ssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-parameter-valid-non-200-async.yml → integration/time/time-ssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{time-ssl-parameter-valid-non-200-sync.yml → integration/time/time-ssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-block-invalid-200-async.yml → integration/where_now/where_now-ssl-block-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-block-invalid-200-sync.yml → integration/where_now/where_now-ssl-block-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-block-invalid-non-200-async.yml → integration/where_now/where_now-ssl-block-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-block-invalid-non-200-sync.yml → integration/where_now/where_now-ssl-block-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-block-valid-200-async.yml → integration/where_now/where_now-ssl-block-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-block-valid-200-sync.yml → integration/where_now/where_now-ssl-block-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-block-valid-non-200-async.yml → integration/where_now/where_now-ssl-block-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-block-valid-non-200-sync.yml → integration/where_now/where_now-ssl-block-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-parameter-invalid-200-async.yml → integration/where_now/where_now-ssl-parameter-invalid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-parameter-invalid-200-sync.yml → integration/where_now/where_now-ssl-parameter-invalid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-parameter-invalid-non-200-async.yml → integration/where_now/where_now-ssl-parameter-invalid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-parameter-invalid-non-200-sync.yml → integration/where_now/where_now-ssl-parameter-invalid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-parameter-valid-200-async.yml → integration/where_now/where_now-ssl-parameter-valid-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-parameter-valid-200-sync.yml → integration/where_now/where_now-ssl-parameter-valid-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-parameter-valid-non-200-async.yml → integration/where_now/where_now-ssl-parameter-valid-non-200-async.yml} +0 -0
- data/fixtures/vcr_cassettes/{where_now-ssl-parameter-valid-non-200-sync.yml → integration/where_now/where_now-ssl-parameter-valid-non-200-sync.yml} +0 -0
- data/fixtures/vcr_cassettes/new_ones/multiplexed_subscribe.yml +8 -822
- data/fixtures/vcr_cassettes/publish/auth_key-no-secret_key.yml +44 -0
- data/fixtures/vcr_cassettes/publish/auth_key.yml +44 -0
- data/fixtures/vcr_cassettes/publish/basic-ssl.yml +44 -0
- data/fixtures/vcr_cassettes/publish/basic.yml +44 -0
- data/fixtures/vcr_cassettes/publish/cipher_key.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000000.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000001.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000002.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000003.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000004.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000005.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000006.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000007.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000008.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000009.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000010.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000011.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000012.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000013.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000014.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000015.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000016.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000017.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000018.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000019.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000020.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000021.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000022.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000023.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000024.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000025.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000026.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000027.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000028.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000029.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000030.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000031.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000032.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000033.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000034.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000035.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000036.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000037.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000038.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000039.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000040.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000041.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000042.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000043.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000044.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000045.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000046.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000047.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000048.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000049.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000050.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000051.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000052.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000053.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000054.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000055.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000056.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000057.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000058.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000059.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000060.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000061.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000062.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000063.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000064.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000065.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000066.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000067.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000068.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000069.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000070.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000071.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000072.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000073.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000074.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000075.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000076.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000077.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000078.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000079.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000080.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000081.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000082.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000083.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000084.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000085.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000086.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000087.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000088.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000089.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000090.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000091.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000092.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000093.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000094.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000095.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000096.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000097.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000098.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000099.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000100.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000101.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000102.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000103.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000104.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000105.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000106.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000107.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000108.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000109.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000110.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000111.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000112.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000113.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000114.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000115.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000116.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000117.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000118.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000119.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000120.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000121.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000122.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000123.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000124.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000125.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000126.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000127.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000128.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000129.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000130.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000131.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000132.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000133.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000134.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000135.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000136.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000137.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000138.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000139.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000140.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000141.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000142.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000143.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000144.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000145.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000146.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000147.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000148.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000149.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000150.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000151.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000152.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000153.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000154.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000155.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000156.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000157.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000158.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000159.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000160.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000161.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000162.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000163.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000164.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000165.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000166.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000167.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000168.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000169.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000170.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000171.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000172.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000173.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000174.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000175.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000176.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000177.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000178.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000179.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000180.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000181.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000182.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000183.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000184.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000185.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000186.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000187.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000188.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000189.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000190.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000191.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000192.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000193.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000194.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000195.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000196.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000197.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000198.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000199.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000200.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000201.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000202.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000203.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000204.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000205.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000206.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000207.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000208.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000209.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000210.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000211.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000212.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000213.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000214.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000215.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000216.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000217.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000218.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000219.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000220.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000221.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000222.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000223.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000224.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000225.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000226.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000227.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000228.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000229.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000230.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000231.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000232.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000233.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000234.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000235.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000236.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000237.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000238.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000239.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000240.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000241.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000242.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000243.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000244.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000245.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000246.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000247.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000248.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000249.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000250.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000251.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000252.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000253.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000254.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000255.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1000256.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000257.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000258.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000259.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000260.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000261.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000262.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000263.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000264.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000265.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000266.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000267.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000268.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000269.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000270.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000271.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000272.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000273.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000274.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000275.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000276.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000277.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000278.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000279.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000280.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000281.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000282.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000283.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000284.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000285.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000286.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000287.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000288.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000289.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000290.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000291.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000292.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000293.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000294.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000295.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000296.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000297.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000298.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000299.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000300.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000301.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000302.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000303.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000304.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000305.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000306.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000307.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000308.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000309.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000310.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000311.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000312.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000313.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000314.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000315.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000316.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000317.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000318.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000319.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000320.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000321.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000322.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000323.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000324.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000325.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000326.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000327.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000328.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000329.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000330.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000331.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000332.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000333.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000334.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000335.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000336.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000337.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000338.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000339.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000340.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000341.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000342.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000343.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000344.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000345.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000346.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000347.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000348.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000349.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000350.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000351.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000352.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000353.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000354.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000355.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000356.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000357.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000358.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000359.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000360.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000361.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000362.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000363.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000364.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000365.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000366.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000367.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000368.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000369.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000370.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000371.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000372.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000373.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000374.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000375.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000376.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000377.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000378.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000379.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000380.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000381.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000382.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000383.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000384.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000385.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000386.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000387.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000388.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000389.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000390.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000391.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000392.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000393.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000394.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000395.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000396.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000397.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000398.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000399.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000400.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000401.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000402.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000403.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000404.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000405.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000406.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000407.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000408.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000409.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000410.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000411.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000412.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000413.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000414.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000415.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000416.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000417.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000418.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000419.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000420.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000421.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000422.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000423.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000424.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000425.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000426.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000427.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000428.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000429.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000430.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000431.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000432.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000433.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000434.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000435.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000436.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000437.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000438.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000439.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000440.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000441.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000442.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000443.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000444.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000445.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000446.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000447.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000448.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000449.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000450.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000451.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000452.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000453.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000454.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000455.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000456.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000457.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000458.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000459.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000460.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000461.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000462.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000463.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000464.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000465.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000466.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000467.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000468.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000469.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000470.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000471.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000472.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000473.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000474.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000475.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000476.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000477.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000478.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000479.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000480.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000481.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000482.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000483.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000484.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000485.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000486.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000487.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000488.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000489.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000490.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000491.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000492.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000493.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000494.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000495.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000496.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000497.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000498.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000499.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000500.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000501.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000502.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000503.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000504.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000505.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000506.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000507.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000508.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000509.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000510.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000511.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000512.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000513.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000514.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000515.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000516.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000517.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000518.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000519.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000520.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000521.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000522.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000523.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000524.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000525.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000526.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000527.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000528.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000529.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000530.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000531.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000532.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000533.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000534.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000535.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000536.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000537.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000538.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000539.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000540.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000541.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000542.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000543.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000544.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000545.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000546.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000547.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000548.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000549.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000550.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000551.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000552.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000553.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000554.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000555.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000556.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000557.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000558.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000559.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000560.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000561.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000562.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000563.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000564.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000565.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000566.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000567.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000568.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000569.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000570.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000571.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000572.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000573.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000574.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000575.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000576.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000577.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000578.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000579.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000580.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000581.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000582.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000583.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000584.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000585.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000586.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000587.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000588.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000589.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000590.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000591.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000592.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000593.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000594.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000595.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000596.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000597.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000598.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000599.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000600.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000601.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000602.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000603.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000604.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000605.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000606.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000607.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000608.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000609.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000610.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000611.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000612.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000613.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000614.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000615.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000616.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000617.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000618.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000619.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000620.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000621.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000622.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000623.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000624.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000625.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000626.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000627.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000628.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000629.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000630.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000631.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000632.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000633.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000634.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000635.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000636.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000637.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000638.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000639.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000640.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000641.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000642.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000643.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000644.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000645.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000646.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000647.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000648.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000649.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000650.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000651.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000652.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000653.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000654.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000655.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000656.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000657.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000658.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000659.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000660.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000661.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000662.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000663.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000664.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000665.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000666.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000667.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000668.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000669.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000670.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000671.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000672.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000673.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000674.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000675.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000676.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000677.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000678.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000679.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000680.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000681.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000682.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000683.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000684.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000685.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000686.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000687.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000688.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000689.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000690.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000691.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000692.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000693.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000694.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000695.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000696.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000697.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000698.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000699.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000700.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000701.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000702.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000703.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000704.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000705.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000706.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000707.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000708.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000709.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000710.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000711.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000712.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000713.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000714.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000715.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000716.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000717.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000718.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000719.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000720.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000721.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000722.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000723.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000724.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000725.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000726.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000727.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000728.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000729.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000730.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000731.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000732.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000733.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000734.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000735.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000736.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000737.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000738.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000739.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000740.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000741.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000742.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000743.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000744.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000745.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000746.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000747.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000748.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000749.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000750.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000751.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000752.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000753.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000754.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000755.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000756.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000757.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000758.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000759.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000760.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000761.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000762.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000763.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000764.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000765.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000766.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000767.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000768.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000769.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000770.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000771.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000772.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000773.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000774.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000775.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000776.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000777.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000778.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000779.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000780.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000781.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000782.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000783.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000784.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000785.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000786.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000787.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000788.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000789.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000790.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000791.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000792.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000793.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000794.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000795.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000796.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000797.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000798.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000799.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000800.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000801.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000802.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000803.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000804.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000805.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000806.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000807.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000808.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000809.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000810.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000811.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000812.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000813.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000814.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000815.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000816.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000817.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000818.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000819.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000820.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000821.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000822.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000823.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000824.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000825.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000826.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000827.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000828.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000829.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000830.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000831.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000832.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000833.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000834.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000835.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000836.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000837.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000838.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000839.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000840.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000841.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000842.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000843.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000844.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000845.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000846.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000847.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000848.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000849.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000850.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000851.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000852.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000853.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000854.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000855.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000856.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000857.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000858.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000859.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000860.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000861.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000862.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000863.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000864.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000865.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000866.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000867.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000868.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000869.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000870.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000871.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000872.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000873.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000874.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000875.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000876.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000877.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000878.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000879.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000880.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000881.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000882.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000883.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000884.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000885.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000886.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000887.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000888.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000889.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000890.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000891.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000892.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000893.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000894.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000895.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000896.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000897.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000898.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000899.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000900.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000901.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000902.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000903.yml +50 -0
- data/fixtures/vcr_cassettes/test_examples/1000904.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000905.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000906.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000907.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000908.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000909.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000910.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000911.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000912.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000913.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000914.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000915.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000916.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000917.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000918.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000919.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000920.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000921.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000922.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000923.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000924.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000925.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000926.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000927.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000928.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000929.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000930.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000931.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000932.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000933.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000934.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000935.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000936.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000937.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000938.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000939.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000940.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000941.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000942.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000943.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1000944.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000945.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000946.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000947.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000948.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000949.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000950.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000951.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000952.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000953.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000954.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000955.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000956.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000957.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000958.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000959.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000960.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000961.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000962.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000963.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000964.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000965.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000966.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000967.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000968.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000969.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000970.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000971.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000972.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000973.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000974.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000975.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000976.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000977.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000978.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000979.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000980.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000981.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000982.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000983.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000984.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000985.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000986.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000987.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000988.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000989.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000990.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000991.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000992.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000993.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000994.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000995.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000996.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000997.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000998.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1000999.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001000.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001001.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001002.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001003.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001004.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001005.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001006.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001007.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001008.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001009.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001010.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001011.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001012.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001013.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001014.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001015.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001016.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001017.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001018.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001019.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001020.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001021.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001022.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001023.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001024.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001025.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001026.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001027.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001028.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001029.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001030.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001031.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001032.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001033.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001034.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001035.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001036.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001037.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001038.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001039.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001040.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001041.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001042.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001043.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001044.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001045.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001046.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001047.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001048.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001049.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001050.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001051.yml +46 -0
- data/fixtures/vcr_cassettes/test_examples/1001052.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001053.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001054.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001055.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001056.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001057.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001058.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001059.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001060.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001061.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001062.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001063.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001064.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001065.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001066.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001067.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001068.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001069.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001070.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001071.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001072.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001073.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001074.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001075.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001076.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1001077.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1001078.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1001079.yml +44 -0
- data/fixtures/vcr_cassettes/test_examples/1001080.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001081.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001082.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001083.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001084.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001085.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001086.yml +51 -0
- data/fixtures/vcr_cassettes/test_examples/1001087.yml +51 -0
- data/fixtures/vcr_cassettes/wc-sub-ssl-false-4.yml +49 -9
- data/lib/pubnub.rb +8 -26
- data/lib/pubnub/client.rb +335 -301
- data/lib/pubnub/client/connections.rb +80 -0
- data/lib/pubnub/client/events.rb +31 -0
- data/lib/pubnub/client/helpers.rb +41 -0
- data/lib/pubnub/client/paged_history.rb +59 -0
- data/lib/pubnub/configuration.rb +36 -23
- data/lib/pubnub/crypto.rb +23 -27
- data/lib/pubnub/envelope.rb +34 -32
- data/lib/pubnub/error.rb +48 -0
- data/lib/pubnub/error_envelope.rb +34 -0
- data/lib/pubnub/event.rb +120 -679
- data/lib/pubnub/events/audit.rb +14 -36
- data/lib/pubnub/events/channel_registration.rb +92 -101
- data/lib/pubnub/events/grant.rb +22 -53
- data/lib/pubnub/events/heartbeat.rb +47 -63
- data/lib/pubnub/events/here_now.rb +65 -59
- data/lib/pubnub/events/history.rb +56 -91
- data/lib/pubnub/events/leave.rb +44 -100
- data/lib/pubnub/events/presence.rb +10 -28
- data/lib/pubnub/events/publish.rb +84 -54
- data/lib/pubnub/events/revoke.rb +22 -40
- data/lib/pubnub/events/set_state.rb +40 -67
- data/lib/pubnub/events/state.rb +47 -44
- data/lib/pubnub/events/subscribe.rb +10 -48
- data/lib/pubnub/events/time.rb +35 -31
- data/lib/pubnub/events/where_now.rb +44 -38
- data/lib/pubnub/formatter.rb +88 -56
- data/lib/pubnub/heart.rb +34 -0
- data/lib/pubnub/message.rb +43 -0
- data/lib/pubnub/origin_manager.rb +80 -0
- data/lib/pubnub/pam.rb +57 -39
- data/lib/pubnub/single_event.rb +26 -0
- data/lib/pubnub/subscribe_event.rb +134 -0
- data/lib/pubnub/subscribe_event/adding.rb +50 -0
- data/lib/pubnub/subscribe_event/callbacks.rb +90 -0
- data/lib/pubnub/subscribe_event/formatter.rb +122 -0
- data/lib/pubnub/subscribe_event/heartbeat.rb +30 -0
- data/lib/pubnub/subscribe_event/removing.rb +70 -0
- data/lib/pubnub/subscriber.rb +81 -0
- data/lib/pubnub/uuid.rb +11 -7
- data/lib/pubnub/validators/audit.rb +27 -0
- data/lib/pubnub/validators/channel_registration.rb +32 -0
- data/lib/pubnub/validators/client.rb +17 -0
- data/lib/pubnub/validators/common_validator.rb +51 -0
- data/lib/pubnub/validators/grant.rb +24 -0
- data/lib/pubnub/validators/heartbeat.rb +14 -0
- data/lib/pubnub/validators/here_now.rb +27 -0
- data/lib/pubnub/validators/history.rb +27 -0
- data/lib/pubnub/validators/leave.rb +25 -0
- data/lib/pubnub/validators/presence.rb +27 -0
- data/lib/pubnub/validators/publish.rb +48 -0
- data/lib/pubnub/validators/revoke.rb +14 -0
- data/lib/pubnub/validators/set_state.rb +16 -0
- data/lib/pubnub/validators/state.rb +27 -0
- data/lib/pubnub/validators/subscribe.rb +27 -0
- data/lib/pubnub/validators/time.rb +14 -0
- data/lib/pubnub/validators/where_now.rb +14 -0
- data/lib/pubnub/version.rb +2 -1
- data/pubnub.gemspec +17 -15
- data/spec/examples/audit_examples_spec.rb +253 -0
- data/spec/examples/channel_registration_examples_spec.rb +933 -0
- data/spec/examples/generator.rb +299 -0
- data/spec/examples/grant_examples_spec.rb +1009 -0
- data/spec/examples/here_now_examples_spec.rb +133 -0
- data/spec/examples/history_examples_spec.rb +4573 -0
- data/spec/examples/publish_examples_spec.rb +357 -0
- data/spec/examples/revoke_examples_spec.rb +1009 -0
- data/spec/examples/state_examples_spec.rb +229 -0
- data/spec/examples/time_examples_spec.rb +69 -0
- data/spec/examples/where_now_examples_spec.rb +101 -0
- data/spec/integration/audit_spec.rb +307 -0
- data/spec/integration/channel_groups_spec.rb +120 -0
- data/spec/integration/channel_registration_spec.rb +323 -0
- data/spec/integration/global_here_now_spec.rb +301 -0
- data/spec/integration/grant_spec.rb +342 -0
- data/spec/integration/here_now_spec.rb +302 -0
- data/spec/integration/history_spec.rb +301 -0
- data/spec/integration/leave_spec.rb +300 -0
- data/spec/integration/presence_spec.rb +317 -0
- data/spec/integration/publish_spec.rb +1117 -0
- data/spec/integration/revoke_spec.rb +318 -0
- data/spec/integration/state_spec.rb +87 -0
- data/spec/integration/subscribe_spec.rb +323 -0
- data/spec/integration/time_spec.rb +300 -0
- data/spec/integration/v3_presence_spec.rb +316 -0
- data/spec/integration/where_now_spec.rb +170 -0
- data/spec/integration/wildcard_subscribe_spec.rb +139 -0
- data/spec/lib/client_spec.rb +181 -24
- data/spec/lib/connection_callback_spec.rb +60 -0
- data/spec/lib/error_spec.rb +277 -0
- data/spec/lib/event_spec.rb +143 -0
- data/spec/lib/events/audit_spec.rb +11 -0
- data/spec/lib/events/channel_registration_spec.rb +11 -0
- data/spec/lib/events/grant_spec.rb +11 -0
- data/spec/lib/events/heartbeat_spec.rb +11 -0
- data/spec/lib/events/here_now_spec.rb +11 -0
- data/spec/lib/events/history_spec.rb +11 -0
- data/spec/lib/events/leave_spec.rb +11 -0
- data/spec/lib/events/presence_spec.rb +11 -0
- data/spec/lib/events/publish_spec.rb +93 -0
- data/spec/lib/events/revoke_spec.rb +11 -0
- data/spec/lib/events/state_spec.rb +11 -0
- data/spec/lib/events/subscribe_spec.rb +11 -0
- data/spec/lib/events/time_spec.rb +11 -0
- data/spec/lib/events/validators_spec.rb +25 -0
- data/spec/lib/events/where_now_spec.rb +11 -0
- data/spec/lib/pubnub_spec.rb +16 -0
- data/spec/lib/uuid_spec.rb +11 -0
- data/spec/spec_helper.rb +33 -6
- metadata +1771 -724
- data/3.5_to_3.6_upgrade_notes.md +0 -148
- data/CHANGELOG.txt +0 -87
- data/examples/chaos/tmp/pids/passenger.3000.pid.lock +0 -0
- data/examples/demo_console.rb +0 -435
- data/examples/error_server.rb +0 -28
- data/examples/pubnub_livestream/.gitignore +0 -16
- data/examples/pubnub_livestream/Gemfile +0 -51
- data/examples/pubnub_livestream/Gemfile.lock +0 -156
- data/examples/pubnub_livestream/README.rdoc +0 -28
- data/examples/pubnub_livestream/Rakefile +0 -6
- data/examples/pubnub_livestream/app/assets/images/.keep +0 -0
- data/examples/pubnub_livestream/app/assets/javascripts/application.js +0 -16
- data/examples/pubnub_livestream/app/assets/javascripts/streamer.js.coffee +0 -42
- data/examples/pubnub_livestream/app/assets/stylesheets/application.css.sass +0 -22
- data/examples/pubnub_livestream/app/assets/stylesheets/streamer.css.scss +0 -3
- data/examples/pubnub_livestream/app/controllers/application_controller.rb +0 -5
- data/examples/pubnub_livestream/app/controllers/concerns/.keep +0 -0
- data/examples/pubnub_livestream/app/controllers/streamer_controller.rb +0 -38
- data/examples/pubnub_livestream/app/helpers/application_helper.rb +0 -2
- data/examples/pubnub_livestream/app/helpers/streamer_helper.rb +0 -2
- data/examples/pubnub_livestream/app/mailers/.keep +0 -0
- data/examples/pubnub_livestream/app/models/.keep +0 -0
- data/examples/pubnub_livestream/app/models/concerns/.keep +0 -0
- data/examples/pubnub_livestream/app/models/message.rb +0 -11
- data/examples/pubnub_livestream/app/views/layouts/application.html.erb +0 -14
- data/examples/pubnub_livestream/app/views/streamer/index.haml +0 -22
- data/examples/pubnub_livestream/bin/bundle +0 -3
- data/examples/pubnub_livestream/bin/rails +0 -4
- data/examples/pubnub_livestream/bin/rake +0 -4
- data/examples/pubnub_livestream/config.ru +0 -4
- data/examples/pubnub_livestream/config/application.rb +0 -23
- data/examples/pubnub_livestream/config/boot.rb +0 -4
- data/examples/pubnub_livestream/config/database.yml +0 -25
- data/examples/pubnub_livestream/config/environment.rb +0 -5
- data/examples/pubnub_livestream/config/environments/development.rb +0 -29
- data/examples/pubnub_livestream/config/environments/production.rb +0 -80
- data/examples/pubnub_livestream/config/environments/test.rb +0 -36
- data/examples/pubnub_livestream/config/initializers/backtrace_silencers.rb +0 -7
- data/examples/pubnub_livestream/config/initializers/filter_parameter_logging.rb +0 -4
- data/examples/pubnub_livestream/config/initializers/inflections.rb +0 -16
- data/examples/pubnub_livestream/config/initializers/mime_types.rb +0 -5
- data/examples/pubnub_livestream/config/initializers/pubnub.rb +0 -12
- data/examples/pubnub_livestream/config/initializers/secret_token.rb +0 -12
- data/examples/pubnub_livestream/config/initializers/session_store.rb +0 -3
- data/examples/pubnub_livestream/config/initializers/wrap_parameters.rb +0 -14
- data/examples/pubnub_livestream/config/locales/en.yml +0 -23
- data/examples/pubnub_livestream/config/routes.rb +0 -62
- data/examples/pubnub_livestream/db/migrate/20130826110322_create_messages.rb +0 -11
- data/examples/pubnub_livestream/db/schema.rb +0 -24
- data/examples/pubnub_livestream/db/seeds.rb +0 -7
- data/examples/pubnub_livestream/lib/assets/.keep +0 -0
- data/examples/pubnub_livestream/lib/tasks/.keep +0 -0
- data/examples/pubnub_livestream/log/.keep +0 -0
- data/examples/pubnub_livestream/public/404.html +0 -58
- data/examples/pubnub_livestream/public/422.html +0 -58
- data/examples/pubnub_livestream/public/500.html +0 -57
- data/examples/pubnub_livestream/public/assets/application-22a604196dfb65fd0d602eb1eb65f9b7.js +0 -4
- data/examples/pubnub_livestream/public/assets/application-22a604196dfb65fd0d602eb1eb65f9b7.js.gz +0 -0
- data/examples/pubnub_livestream/public/assets/application-3fac0c014bbdf9ee7b3986ff615d5da0.css +0 -5019
- data/examples/pubnub_livestream/public/assets/application-3fac0c014bbdf9ee7b3986ff615d5da0.css.gz +0 -0
- data/examples/pubnub_livestream/public/assets/application-f06834e402639ad43230e3859b9bdd78.css +0 -1
- data/examples/pubnub_livestream/public/assets/application-f06834e402639ad43230e3859b9bdd78.css.gz +0 -0
- data/examples/pubnub_livestream/public/assets/application-f91b87f490140d86003c46b4d06b6c70.js +0 -10682
- data/examples/pubnub_livestream/public/assets/application-f91b87f490140d86003c46b4d06b6c70.js.gz +0 -0
- data/examples/pubnub_livestream/public/assets/manifest-c129e1f5ec52d8b661ebfa902554a2e2.json +0 -1
- data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-0bc0341283e3bb8ec518375794cc7c28.eot +0 -0
- data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-24dfb40c91db789b8b8faba6886ac1ef.svg +0 -228
- data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-4b2130768da98222338d1519f9179528.ttf +0 -0
- data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-7a07f26f72466361ac9671de2d33fd1c.woff +0 -0
- data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-9f75212cf9fca594cee7e0e3587db9d1.svg +0 -228
- data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-ab2f6984951c07fd89e6afdefabd93c7.eot +0 -0
- data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-c21928f7d46b397b0af6b9ee4a7bd0dd.ttf +0 -0
- data/examples/pubnub_livestream/public/assets/twitter/glyphicons-halflings-regular-fa1d7f79d80d03f8a598822bd9df79bf.woff +0 -0
- data/examples/pubnub_livestream/public/favicon.ico +0 -0
- data/examples/pubnub_livestream/public/robots.txt +0 -5
- data/examples/pubnub_livestream/test/controllers/.keep +0 -0
- data/examples/pubnub_livestream/test/controllers/streamer_controller_test.rb +0 -7
- data/examples/pubnub_livestream/test/fixtures/.keep +0 -0
- data/examples/pubnub_livestream/test/fixtures/messages.yml +0 -9
- data/examples/pubnub_livestream/test/helpers/.keep +0 -0
- data/examples/pubnub_livestream/test/helpers/streamer_helper_test.rb +0 -4
- data/examples/pubnub_livestream/test/integration/.keep +0 -0
- data/examples/pubnub_livestream/test/mailers/.keep +0 -0
- data/examples/pubnub_livestream/test/models/.keep +0 -0
- data/examples/pubnub_livestream/test/models/message_test.rb +0 -7
- data/examples/pubnub_livestream/test/test_helper.rb +0 -15
- data/examples/pubnub_livestream/vendor/assets/javascripts/.keep +0 -0
- data/examples/pubnub_livestream/vendor/assets/stylesheets/.keep +0 -0
- data/examples/serial_publish.rb +0 -42
- data/examples/sinatra/.sass-cache/65d837cc121fc62381bb76d93e5bd081356aa3f9/application.sassc +0 -0
- data/examples/sinatra/.sass-cache/d1525a8542f6e7fb2ecd3275251283768779b344/main.rbc +0 -0
- data/examples/sinatra/.sass-cache/d35765d68c1df11fa3368aa802b3d38109cba214/application.sassc +0 -0
- data/examples/sinatra/main.rb +0 -54
- data/examples/sinatra/public/bootstrap-responsive.min.css +0 -9
- data/examples/sinatra/public/bootstrap.css +0 -5909
- data/examples/sinatra/public/bootstrap.min.css +0 -845
- data/examples/sinatra/public/jquery-1.10.2.min.js +0 -5
- data/examples/sinatra/views/application.sass +0 -6
- data/examples/sinatra/views/index.slim +0 -16
- data/examples/sinatra/views/layout.slim +0 -12
- data/examples/sinatra/views/streamer.coffee +0 -41
- data/examples/sub_and_unsub_1.rb +0 -57
- data/examples/translator.rb +0 -129
- data/fixtures/vcr_cassettes/auth_key_flow_auth_publish.yml +0 -45
- data/fixtures/vcr_cassettes/auth_key_flow_empty_auth_audit.yml +0 -44
- data/fixtures/vcr_cassettes/auth_key_flow_instead_auth_audit.yml +0 -44
- data/fixtures/vcr_cassettes/auth_key_flow_no_auth_publish.yml +0 -45
- data/fixtures/vcr_cassettes/auth_key_flow_non_auth_audit.yml +0 -44
- data/fixtures/vcr_cassettes/eof_subscribe.yml +0 -85
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-array.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-hash.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-integer.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-mix.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-multi-mix.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-many-channels-string.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-array.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-hash.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-integer.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-mix.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-cipherkey-one-channel-string.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-array.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-hash.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-integer.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-mix.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-multi-mix.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-many-channels-string.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-array.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-hash.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-integer.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-mix.yml +0 -89
- data/fixtures/vcr_cassettes/formatting-envelope-subscribe-without-cipherkey-one-channel-string.yml +0 -89
- data/fixtures/vcr_cassettes/grant-application-level.yml +0 -44
- data/fixtures/vcr_cassettes/grant-multiple-channels-presence-multi-1.yml +0 -44
- data/fixtures/vcr_cassettes/grant-multiple-channels-presence-multi-2.yml +0 -44
- data/fixtures/vcr_cassettes/grant-multiple-channels-presence-multi-3.yml +0 -44
- data/fixtures/vcr_cassettes/grant-multiple-channels-presence-multi-4.yml +0 -44
- data/fixtures/vcr_cassettes/grant-multiple-channels-presence.yml +0 -44
- data/fixtures/vcr_cassettes/grant-multiple-channels.yml +0 -45
- data/fixtures/vcr_cassettes/grant-nonssl-block-invalid-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/grant-nonssl-block-invalid-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/grant-nonssl-block-invalid-non-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/grant-nonssl-block-invalid-non-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/grant-nonssl-block-valid-200-async.yml +0 -45
- data/fixtures/vcr_cassettes/grant-nonssl-block-valid-200-sync.yml +0 -45
- data/fixtures/vcr_cassettes/grant-nonssl-block-valid-non-200-async.yml +0 -45
- data/fixtures/vcr_cassettes/grant-nonssl-block-valid-non-200-sync.yml +0 -45
- data/fixtures/vcr_cassettes/grant-nonssl-parameter-invalid-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/grant-nonssl-parameter-invalid-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/grant-nonssl-parameter-invalid-non-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/grant-nonssl-parameter-invalid-non-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/grant-nonssl-parameter-valid-200-async.yml +0 -45
- data/fixtures/vcr_cassettes/grant-nonssl-parameter-valid-200-sync.yml +0 -45
- data/fixtures/vcr_cassettes/grant-nonssl-parameter-valid-non-200-async.yml +0 -45
- data/fixtures/vcr_cassettes/grant-nonssl-parameter-valid-non-200-sync.yml +0 -45
- data/fixtures/vcr_cassettes/grant-ssl-block-invalid-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/grant-ssl-block-invalid-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/grant-ssl-block-invalid-non-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/grant-ssl-block-invalid-non-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/grant-ssl-block-valid-200-async.yml +0 -45
- data/fixtures/vcr_cassettes/grant-ssl-block-valid-200-sync.yml +0 -45
- data/fixtures/vcr_cassettes/grant-ssl-block-valid-non-200-async.yml +0 -45
- data/fixtures/vcr_cassettes/grant-ssl-block-valid-non-200-sync.yml +0 -45
- data/fixtures/vcr_cassettes/grant-ssl-parameter-invalid-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/grant-ssl-parameter-invalid-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/grant-ssl-parameter-invalid-non-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/grant-ssl-parameter-invalid-non-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/grant-ssl-parameter-valid-200-async.yml +0 -45
- data/fixtures/vcr_cassettes/grant-ssl-parameter-valid-200-sync.yml +0 -45
- data/fixtures/vcr_cassettes/grant-ssl-parameter-valid-non-200-async.yml +0 -45
- data/fixtures/vcr_cassettes/grant-ssl-parameter-valid-non-200-sync.yml +0 -45
- data/fixtures/vcr_cassettes/heartbeat-test.yml +0 -91
- data/fixtures/vcr_cassettes/heartbeated-subscribe.yml +0 -136
- data/fixtures/vcr_cassettes/new_ones/publish/store-false.yml +0 -44
- data/fixtures/vcr_cassettes/new_ones/publish/store-true.yml +0 -44
- data/fixtures/vcr_cassettes/non-heartbeated-subscribe.yml +0 -44
- data/fixtures/vcr_cassettes/paged-history-async.yml +0 -49
- data/fixtures/vcr_cassettes/paged-history-pages-async.yml +0 -141
- data/fixtures/vcr_cassettes/paged-history-pages-ssl-async.yml +0 -141
- data/fixtures/vcr_cassettes/paged-history-pages-ssl-sync.yml +0 -141
- data/fixtures/vcr_cassettes/paged-history-pages-start-async.yml +0 -95
- data/fixtures/vcr_cassettes/paged-history-pages-start-ssl-async.yml +0 -95
- data/fixtures/vcr_cassettes/paged-history-pages-start-ssl-sync.yml +0 -95
- data/fixtures/vcr_cassettes/paged-history-pages-start-sync.yml +0 -95
- data/fixtures/vcr_cassettes/paged-history-pages-sync.yml +0 -140
- data/fixtures/vcr_cassettes/paged-history-ssl-async.yml +0 -49
- data/fixtures/vcr_cassettes/paged-history-ssl-sync.yml +0 -49
- data/fixtures/vcr_cassettes/paged-history-start-async.yml +0 -49
- data/fixtures/vcr_cassettes/paged-history-start-ssl-async.yml +0 -49
- data/fixtures/vcr_cassettes/paged-history-start-ssl-sync.yml +0 -49
- data/fixtures/vcr_cassettes/paged-history-start-sync.yml +0 -49
- data/fixtures/vcr_cassettes/paged-history-sync.yml +0 -49
- data/fixtures/vcr_cassettes/pam1.yml +0 -35
- data/fixtures/vcr_cassettes/pam10.yml +0 -35
- data/fixtures/vcr_cassettes/pam11.yml +0 -35
- data/fixtures/vcr_cassettes/pam12.yml +0 -35
- data/fixtures/vcr_cassettes/pam13.yml +0 -35
- data/fixtures/vcr_cassettes/pam14.yml +0 -35
- data/fixtures/vcr_cassettes/pam15.yml +0 -35
- data/fixtures/vcr_cassettes/pam17.yml +0 -35
- data/fixtures/vcr_cassettes/pam2.yml +0 -35
- data/fixtures/vcr_cassettes/pam20.yml +0 -35
- data/fixtures/vcr_cassettes/pam21.yml +0 -35
- data/fixtures/vcr_cassettes/pam22.yml +0 -97
- data/fixtures/vcr_cassettes/pam4.yml +0 -35
- data/fixtures/vcr_cassettes/pam5.yml +0 -66
- data/fixtures/vcr_cassettes/pam6.yml +0 -96
- data/fixtures/vcr_cassettes/publish-nonssl-block-invalid-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-block-invalid-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-block-invalid-non-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-block-invalid-non-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-block-valid-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-block-valid-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-block-valid-non-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-block-valid-non-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-parameter-invalid-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-parameter-invalid-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-parameter-invalid-non-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-parameter-invalid-non-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-parameter-valid-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-parameter-valid-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-parameter-valid-non-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-nonssl-parameter-valid-non-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-block-invalid-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-block-invalid-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-block-invalid-non-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-block-invalid-non-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-block-valid-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-block-valid-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-block-valid-non-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-block-valid-non-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-parameter-invalid-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-parameter-invalid-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-parameter-invalid-non-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-parameter-invalid-non-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-parameter-valid-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-parameter-valid-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-parameter-valid-non-200-async.yml +0 -44
- data/fixtures/vcr_cassettes/publish-ssl-parameter-valid-non-200-sync.yml +0 -44
- data/fixtures/vcr_cassettes/single-event-invalid-json.yml +0 -85
- data/fixtures/vcr_cassettes/single-event-non200.yml +0 -44
- data/fixtures/vcr_cassettes/state-async-set-state-via-subbedclient-2.yml +0 -140
- data/fixtures/vcr_cassettes/state-async-set-state-via-subbedclient.yml +0 -131
- data/fixtures/vcr_cassettes/state-async-set-state-via-subscribe.yml +0 -90
- data/fixtures/vcr_cassettes/state-set-state-via-client-2.yml +0 -140
- data/fixtures/vcr_cassettes/state-set-state-via-client.yml +0 -90
- data/fixtures/vcr_cassettes/state-set-state-via-subscribe.yml +0 -90
- data/lib/pubnub/exceptions.rb +0 -50
- data/lib/pubnub/parser.rb +0 -21
- data/lib/pubnub/validator.rb +0 -29
- data/spec/lib/auth_key_flow_spec.rb +0 -60
- data/spec/lib/channel_presence_concat_pam_spec.rb +0 -94
- data/spec/lib/encoder_spec.rb +0 -51
- data/spec/lib/eof_error_spec.rb +0 -48
- data/spec/lib/formatting_envelope_spec.rb +0 -304
- data/spec/lib/heartbeat_spec.rb +0 -110
- data/spec/lib/integration/audit_dpc_spec.rb +0 -544
- data/spec/lib/integration/audit_spec.rb +0 -544
- data/spec/lib/integration/channel_groups_spec.rb +0 -120
- data/spec/lib/integration/channel_registration_spec.rb +0 -317
- data/spec/lib/integration/global_here_now_dpc_spec.rb +0 -541
- data/spec/lib/integration/global_here_now_spec.rb +0 -541
- data/spec/lib/integration/grant_dpc_spec.rb +0 -555
- data/spec/lib/integration/grant_spec.rb +0 -580
- data/spec/lib/integration/here_now_dpc_spec.rb +0 -543
- data/spec/lib/integration/here_now_spec.rb +0 -543
- data/spec/lib/integration/history_dpc_spec.rb +0 -541
- data/spec/lib/integration/history_spec.rb +0 -541
- data/spec/lib/integration/leave_dpc_spec.rb +0 -539
- data/spec/lib/integration/leave_spec.rb +0 -540
- data/spec/lib/integration/multiplexed_subscribe_flow_spec.rb +0 -44
- data/spec/lib/integration/paged_history_spec.rb +0 -284
- data/spec/lib/integration/presence_dpc_spec.rb +0 -557
- data/spec/lib/integration/presence_spec.rb +0 -557
- data/spec/lib/integration/publish_dpc_spec.rb +0 -1877
- data/spec/lib/integration/publish_spec.rb +0 -1912
- data/spec/lib/integration/publish_spec_old.rb +0 -541
- data/spec/lib/integration/revoke_dpc_spec.rb +0 -555
- data/spec/lib/integration/revoke_spec.rb +0 -555
- data/spec/lib/integration/state_spec.rb +0 -84
- data/spec/lib/integration/subscribe_dpc_spec.rb +0 -564
- data/spec/lib/integration/subscribe_spec.rb +0 -564
- data/spec/lib/integration/time_dpc_spec.rb +0 -541
- data/spec/lib/integration/time_spec.rb +0 -541
- data/spec/lib/integration/v3_presence_dpc_spec.rb +0 -557
- data/spec/lib/integration/v3_presence_spec.rb +0 -557
- data/spec/lib/integration/where_now_spec.rb +0 -312
- data/spec/lib/integration/wildcard_subscribe_spec.rb +0 -150
- data/spec/lib/retry_logic_spec.rb +0 -53
- data/spec/lib/subscribe_event.rb +0 -16
@@ -0,0 +1,299 @@
|
|
1
|
+
require 'pry'
|
2
|
+
require 'vcr'
|
3
|
+
require 'pubnub'
|
4
|
+
|
5
|
+
# Toplevel Pubnub module.
|
6
|
+
module Pubnub
|
7
|
+
# Event module holds most basic and required infrastructure for every pubnub
|
8
|
+
# event, there are also SingleEvent module and SubscribeEvent module
|
9
|
+
class Event
|
10
|
+
def set_timestamp
|
11
|
+
@timestamp = current_time
|
12
|
+
$timestamp = current_time
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
def format_value(value)
|
18
|
+
if value.is_a? String
|
19
|
+
"'#{value}'"
|
20
|
+
elsif value.is_a? Symbol
|
21
|
+
":#{value}"
|
22
|
+
else
|
23
|
+
value
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
# Other client to create some presence and messages
|
28
|
+
pubnub_client = Pubnub.new(
|
29
|
+
:publish_key => 'pub-c-ef1905bd-3c9c-4bc7-9f20-f6ee1f50f79b',
|
30
|
+
:subscribe_key => 'sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f',
|
31
|
+
:secret_key => 'sec-c-OTA5NzI1YTMtOWEyNy00NTQzLTkzNzMtMjY3ZDlkYzk0NGU3',
|
32
|
+
:uuid => 'john'
|
33
|
+
)
|
34
|
+
|
35
|
+
100.times do |i|
|
36
|
+
pubnub_client.publish(channel: :channel, message: i, http_sync: true)
|
37
|
+
end
|
38
|
+
|
39
|
+
VCR.configure do |c|
|
40
|
+
c.cassette_library_dir = 'fixtures/vcr_cassettes'
|
41
|
+
c.hook_into :webmock
|
42
|
+
c.default_cassette_options = {
|
43
|
+
match_requests_on: [:method,
|
44
|
+
VCR.request_matchers.uri_without_param(:pnsdk, :uuid)]
|
45
|
+
}
|
46
|
+
end
|
47
|
+
|
48
|
+
# Prepare client
|
49
|
+
|
50
|
+
pubnub = Pubnub.new(
|
51
|
+
:publish_key => 'pub-c-ef1905bd-3c9c-4bc7-9f20-f6ee1f50f79b',
|
52
|
+
:subscribe_key => 'sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f',
|
53
|
+
:secret_key => 'sec-c-OTA5NzI1YTMtOWEyNy00NTQzLTkzNzMtMjY3ZDlkYzk0NGU3',
|
54
|
+
:error_callback => @error_callback,
|
55
|
+
:uuid => 'gentest'
|
56
|
+
)
|
57
|
+
|
58
|
+
pubnub_wo_pam_client = Pubnub.new(
|
59
|
+
:publish_key => 'pub-c-bda4e37b-f383-4acf-affd-cd8e66ed523b',
|
60
|
+
:subscribe_key => 'sub-c-243e56aa-1b13-11e5-a5e2-02ee2ddab7fe',
|
61
|
+
:secret_key => 'sec-c-OThjZDUyNjktY2ZlMS00MDc2LWJkODYtMmU4ZTk2MjY5ZGQ5',
|
62
|
+
:uuid => 'gentest'
|
63
|
+
)
|
64
|
+
|
65
|
+
|
66
|
+
@callback = lambda { |envelope|
|
67
|
+
@response_output.write envelope.response
|
68
|
+
@message_output.write envelope.msg
|
69
|
+
@after_callback = true
|
70
|
+
}
|
71
|
+
|
72
|
+
@response_output = StringIO.new
|
73
|
+
@message_output = StringIO.new
|
74
|
+
|
75
|
+
# Prepare possibilities
|
76
|
+
|
77
|
+
events = {
|
78
|
+
audit: {
|
79
|
+
http_sync: [true, false],
|
80
|
+
callback: [:block, :parameter],
|
81
|
+
channel: ['channel', :channel],
|
82
|
+
'auth-key' => ['key', :key, 'key1, key2']
|
83
|
+
},
|
84
|
+
channel_registration: {
|
85
|
+
http_sync: [true, false],
|
86
|
+
callback: [:block, :parameter],
|
87
|
+
channel: ['gchannel', :gchannel],
|
88
|
+
group: ['group', :group],
|
89
|
+
action: [:list_groups, 'list_groups', :get, 'get', :add, 'add', :remove]
|
90
|
+
},
|
91
|
+
grant: {
|
92
|
+
http_sync: [true, false],
|
93
|
+
callback: [:block, :parameter],
|
94
|
+
read: [true, false, :nil],
|
95
|
+
write: [true, false, :nil],
|
96
|
+
ttl: [0, 600, :nil],
|
97
|
+
channel: ['demo_channel']
|
98
|
+
},
|
99
|
+
here_now: {
|
100
|
+
http_sync: [true, false],
|
101
|
+
callback: [:block, :parameter],
|
102
|
+
channel: [:nil, :channel, 'channel']
|
103
|
+
},
|
104
|
+
history: {
|
105
|
+
http_sync: [true, false],
|
106
|
+
callback: [:block, :parameter],
|
107
|
+
channel: [:channel, 'channel'],
|
108
|
+
limit: [1, 10, 100],
|
109
|
+
reverse: [true, false, :nil],
|
110
|
+
start: [:nil, 14350501874493930, '14350501874493930'],
|
111
|
+
end: [:nil, 14350503487714362, '14350503487714362']
|
112
|
+
},
|
113
|
+
publish: {
|
114
|
+
http_sync: [true, false],
|
115
|
+
callback: [:block, :parameter],
|
116
|
+
message: [:message, 'message', %w(me ssage), 100, {key: :value}],
|
117
|
+
channel: ['channel', :channel]
|
118
|
+
},
|
119
|
+
revoke: {
|
120
|
+
http_sync: [true, false],
|
121
|
+
callback: [:block, :parameter],
|
122
|
+
read: [true, false, :nil],
|
123
|
+
write: [true, false, :nil],
|
124
|
+
ttl: [0, 600, :nil],
|
125
|
+
channel: ['demo_channel']
|
126
|
+
},
|
127
|
+
state: {
|
128
|
+
http_sync: [true, false],
|
129
|
+
callback: [:block, :parameter],
|
130
|
+
uuid: ['uuid', :uuid],
|
131
|
+
channel: ['channel', :channel, :nil]
|
132
|
+
},
|
133
|
+
time: {
|
134
|
+
http_sync: [true, false],
|
135
|
+
callback: [:block, :parameter],
|
136
|
+
},
|
137
|
+
where_now: {
|
138
|
+
http_sync: [true, false],
|
139
|
+
callback: [:block, :parameter],
|
140
|
+
uuid: ['john', :john]
|
141
|
+
}
|
142
|
+
}
|
143
|
+
|
144
|
+
events.each do |event, options|
|
145
|
+
file = File.open("spec/examples/#{event}_examples_spec.rb", 'w')
|
146
|
+
|
147
|
+
all_tests = []
|
148
|
+
|
149
|
+
o_v = options.values
|
150
|
+
possible_options = o_v.first.product(*o_v.drop(1))
|
151
|
+
|
152
|
+
possible_options.each_with_index do |current_options, i|
|
153
|
+
|
154
|
+
# Prepare values
|
155
|
+
options_text = []
|
156
|
+
parameters = []
|
157
|
+
cassette_name = "#{event}-#{rand(10000)}"
|
158
|
+
current_options.each_with_index do |current_option, j|
|
159
|
+
unless current_option == :nil
|
160
|
+
options_text << "#{options.keys[j]}: #{current_option}"
|
161
|
+
parameters << "'#{options.keys[j]}' => #{format_value(current_option)}"
|
162
|
+
cassette_name << "_#{options.keys[j]}_#{current_option}"
|
163
|
+
end
|
164
|
+
end
|
165
|
+
|
166
|
+
example_text = 'it \''
|
167
|
+
example_text << options_text.join(', ')
|
168
|
+
example_text << "' do"
|
169
|
+
|
170
|
+
# run actual code before generating text for code
|
171
|
+
|
172
|
+
VCR.use_cassette("test_examples/#{cassette_name}", record: :once) do
|
173
|
+
|
174
|
+
|
175
|
+
parameters_prim = parameters.dup
|
176
|
+
|
177
|
+
puts "working for parameters : #{parameters.join(', ')}"
|
178
|
+
|
179
|
+
parameters_prim.delete_if {|p| p.index('callback')}
|
180
|
+
parameters_prim << "'callback' => @callback"
|
181
|
+
|
182
|
+
puts "working for parameters_prim: #{parameters_prim.join(', ')}"
|
183
|
+
|
184
|
+
if event == :channel_registration
|
185
|
+
fired_event = pubnub_wo_pam_client.send(event.to_s, eval("{#{parameters_prim.join(', ')}}"))
|
186
|
+
else
|
187
|
+
fired_event = pubnub.send(event.to_s, eval("{#{parameters_prim.join(', ')}}"))
|
188
|
+
end
|
189
|
+
|
190
|
+
fired_event = fired_event.value if fired_event.is_a? Celluloid::Future
|
191
|
+
|
192
|
+
@expected_response = fired_event.map{ |e| e.response}.to_s
|
193
|
+
@expected_message = fired_event.map{ |e| e.message}.to_s
|
194
|
+
|
195
|
+
puts "TIMESTAMP #{$timestamp}"
|
196
|
+
|
197
|
+
end
|
198
|
+
|
199
|
+
if parameters.index("'callback' => :block")
|
200
|
+
callback_block = true
|
201
|
+
parameters.delete_if { |p| p == "'callback' => :block" }
|
202
|
+
else
|
203
|
+
callback_block = false
|
204
|
+
parameters.map! { |p| p == "'callback': :parameter" ? "'callback' => @callback" : p }
|
205
|
+
end
|
206
|
+
|
207
|
+
if parameters.index('http_sync: true')
|
208
|
+
http_sync = true
|
209
|
+
else
|
210
|
+
http_sync = false
|
211
|
+
end
|
212
|
+
|
213
|
+
example_text << "\nPubnub::#{Pubnub::Formatter.classify_method(event.to_s)}.any_instance.stub(:current_time).and_return #{$timestamp}" if %w(audit revoke grant).include?(event.to_s)
|
214
|
+
|
215
|
+
example_text << "\nVCR.use_cassette('test_examples/#{cassette_name}', record: :once) do"
|
216
|
+
|
217
|
+
if event == :channel_registration
|
218
|
+
if callback_block
|
219
|
+
example_text << "\nevent = @pubnub_wo_pam_client.#{event}(#{parameters.join(', ')}, &@callback)"
|
220
|
+
else
|
221
|
+
example_text << "\nevent = @pubnub_wo_pam_client.#{event}(#{parameters.join(', ')})"
|
222
|
+
end
|
223
|
+
else
|
224
|
+
if callback_block
|
225
|
+
example_text << "\nevent = @pubnub.#{event}(#{parameters.join(', ')}, &@callback)"
|
226
|
+
else
|
227
|
+
example_text << "\nevent = @pubnub.#{event}(#{parameters.join(', ')})"
|
228
|
+
end
|
229
|
+
end
|
230
|
+
|
231
|
+
|
232
|
+
if http_sync
|
233
|
+
example_text << "\nexpect(event.map{ |e| e.response}).to eq #{@expected_response}" unless event == :history
|
234
|
+
example_text << "\nexpect(event.map{ |e| e.message}).to eq #{@expected_message}"
|
235
|
+
else
|
236
|
+
example_text << "\nexpect(event.value.map{ |e| e.response}).to eq #{@expected_response}" unless event == :history
|
237
|
+
example_text << "\nexpect(event.value.map{ |e| e.message}).to eq #{@expected_message}"
|
238
|
+
end
|
239
|
+
|
240
|
+
# example_text << "\n event.value"
|
241
|
+
# example_text << "\neventually do"
|
242
|
+
#
|
243
|
+
# example_text << "\n@response_output.seek 0"
|
244
|
+
# example_text << "\n@response_output.read.should eq '#{@expected_response}'"
|
245
|
+
# example_text << "\n@message_output.seek 0"
|
246
|
+
# example_text << "\n@message_output.read.should eq '#{@expected_message}'"
|
247
|
+
#
|
248
|
+
# example_text << "\nend"
|
249
|
+
|
250
|
+
example_text << "\nend"
|
251
|
+
example_text << "\nend\n"
|
252
|
+
|
253
|
+
all_tests << example_text
|
254
|
+
end
|
255
|
+
|
256
|
+
test_string = <<EOS
|
257
|
+
require 'spec_helper'
|
258
|
+
|
259
|
+
describe Pubnub::#{Pubnub::Formatter.classify_method(event.to_s)} do
|
260
|
+
around(:each) do |example|
|
261
|
+
@response_output = StringIO.new
|
262
|
+
@message_output = StringIO.new
|
263
|
+
|
264
|
+
@callback = lambda { |envelope|
|
265
|
+
@response_output.write envelope.response
|
266
|
+
@message_output.write envelope.msg
|
267
|
+
@after_callback = true
|
268
|
+
}
|
269
|
+
|
270
|
+
@pubnub = Pubnub.new(
|
271
|
+
:publish_key => 'pub-c-ef1905bd-3c9c-4bc7-9f20-f6ee1f50f79b',
|
272
|
+
:subscribe_key => 'sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f',
|
273
|
+
:secret_key => 'sec-c-OTA5NzI1YTMtOWEyNy00NTQzLTkzNzMtMjY3ZDlkYzk0NGU3',
|
274
|
+
:error_callback => @error_callback
|
275
|
+
)
|
276
|
+
|
277
|
+
@pubnub_wo_pam_client = Pubnub.new(
|
278
|
+
:publish_key => 'pub-c-bda4e37b-f383-4acf-affd-cd8e66ed523b',
|
279
|
+
:subscribe_key => 'sub-c-243e56aa-1b13-11e5-a5e2-02ee2ddab7fe',
|
280
|
+
:secret_key => 'sec-c-OThjZDUyNjktY2ZlMS00MDc2LWJkODYtMmU4ZTk2MjY5ZGQ5',
|
281
|
+
:uuid => 'gentest'
|
282
|
+
)
|
283
|
+
|
284
|
+
@pubnub.uuid = 'gentest'
|
285
|
+
|
286
|
+
Celluloid.boot
|
287
|
+
example.run
|
288
|
+
Celluloid.shutdown
|
289
|
+
end
|
290
|
+
|
291
|
+
#{all_tests.join("\n")}
|
292
|
+
|
293
|
+
end
|
294
|
+
|
295
|
+
EOS
|
296
|
+
|
297
|
+
file.puts test_string
|
298
|
+
file.close
|
299
|
+
end
|
@@ -0,0 +1,1009 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe Pubnub::Grant do
|
4
|
+
around(:each) do |example|
|
5
|
+
@response_output = StringIO.new
|
6
|
+
@message_output = StringIO.new
|
7
|
+
|
8
|
+
@callback = lambda { |envelope|
|
9
|
+
@response_output.write envelope.response
|
10
|
+
@message_output.write envelope.msg
|
11
|
+
@after_callback = true
|
12
|
+
}
|
13
|
+
|
14
|
+
@pubnub = Pubnub.new(
|
15
|
+
:publish_key => 'pub-c-ef1905bd-3c9c-4bc7-9f20-f6ee1f50f79b',
|
16
|
+
:subscribe_key => 'sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f',
|
17
|
+
:secret_key => 'sec-c-OTA5NzI1YTMtOWEyNy00NTQzLTkzNzMtMjY3ZDlkYzk0NGU3',
|
18
|
+
:error_callback => @error_callback
|
19
|
+
)
|
20
|
+
|
21
|
+
@pubnub_wo_pam_client = Pubnub.new(
|
22
|
+
:publish_key => 'pub-c-bda4e37b-f383-4acf-affd-cd8e66ed523b',
|
23
|
+
:subscribe_key => 'sub-c-243e56aa-1b13-11e5-a5e2-02ee2ddab7fe',
|
24
|
+
:secret_key => 'sec-c-OThjZDUyNjktY2ZlMS00MDc2LWJkODYtMmU4ZTk2MjY5ZGQ5',
|
25
|
+
:uuid => 'gentest'
|
26
|
+
)
|
27
|
+
|
28
|
+
@pubnub.uuid = 'gentest'
|
29
|
+
|
30
|
+
Celluloid.boot
|
31
|
+
example.run
|
32
|
+
Celluloid.shutdown
|
33
|
+
end
|
34
|
+
|
35
|
+
it 'http_sync: true, callback: block, read: true, write: true, ttl: 0, channel: demo_channel' do
|
36
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671530
|
37
|
+
VCR.use_cassette('test_examples/1000218', record: :once) do
|
38
|
+
event = @pubnub.grant('http_sync' => true, 'read' => true, 'write' => true, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
39
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
40
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
it 'http_sync: true, callback: block, read: true, write: true, ttl: 600, channel: demo_channel' do
|
45
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671530
|
46
|
+
VCR.use_cassette('test_examples/1000151', record: :once) do
|
47
|
+
event = @pubnub.grant('http_sync' => true, 'read' => true, 'write' => true, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
48
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
49
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
it 'http_sync: true, callback: block, read: true, write: true, channel: demo_channel' do
|
54
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671531
|
55
|
+
VCR.use_cassette('test_examples/1000141', record: :once) do
|
56
|
+
event = @pubnub.grant('http_sync' => true, 'read' => true, 'write' => true, 'channel' => 'demo_channel', &@callback)
|
57
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
58
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
it 'http_sync: true, callback: block, read: true, write: false, ttl: 0, channel: demo_channel' do
|
63
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671531
|
64
|
+
VCR.use_cassette('test_examples/1000212', record: :once) do
|
65
|
+
event = @pubnub.grant('http_sync' => true, 'read' => true, 'write' => false, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
66
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
67
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
it 'http_sync: true, callback: block, read: true, write: false, ttl: 600, channel: demo_channel' do
|
72
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671532
|
73
|
+
VCR.use_cassette('test_examples/1000183', record: :once) do
|
74
|
+
event = @pubnub.grant('http_sync' => true, 'read' => true, 'write' => false, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
75
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
76
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
77
|
+
end
|
78
|
+
end
|
79
|
+
|
80
|
+
it 'http_sync: true, callback: block, read: true, write: false, channel: demo_channel' do
|
81
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671532
|
82
|
+
VCR.use_cassette('test_examples/1000150', record: :once) do
|
83
|
+
event = @pubnub.grant('http_sync' => true, 'read' => true, 'write' => false, 'channel' => 'demo_channel', &@callback)
|
84
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
85
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
it 'http_sync: true, callback: block, read: true, ttl: 0, channel: demo_channel' do
|
90
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671533
|
91
|
+
VCR.use_cassette('test_examples/1000143', record: :once) do
|
92
|
+
event = @pubnub.grant('http_sync' => true, 'read' => true, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
93
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
94
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
95
|
+
end
|
96
|
+
end
|
97
|
+
|
98
|
+
it 'http_sync: true, callback: block, read: true, ttl: 600, channel: demo_channel' do
|
99
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671533
|
100
|
+
VCR.use_cassette('test_examples/1000239', record: :once) do
|
101
|
+
event = @pubnub.grant('http_sync' => true, 'read' => true, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
102
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
103
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
it 'http_sync: true, callback: block, read: true, channel: demo_channel' do
|
108
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671534
|
109
|
+
VCR.use_cassette('test_examples/1000154', record: :once) do
|
110
|
+
event = @pubnub.grant('http_sync' => true, 'read' => true, 'channel' => 'demo_channel', &@callback)
|
111
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
112
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
it 'http_sync: true, callback: block, read: false, write: true, ttl: 0, channel: demo_channel' do
|
117
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671534
|
118
|
+
VCR.use_cassette('test_examples/1000145', record: :once) do
|
119
|
+
event = @pubnub.grant('http_sync' => true, 'read' => false, 'write' => true, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
120
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
121
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
it 'http_sync: true, callback: block, read: false, write: true, ttl: 600, channel: demo_channel' do
|
126
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671534
|
127
|
+
VCR.use_cassette('test_examples/1000157', record: :once) do
|
128
|
+
event = @pubnub.grant('http_sync' => true, 'read' => false, 'write' => true, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
129
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
130
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
131
|
+
end
|
132
|
+
end
|
133
|
+
|
134
|
+
it 'http_sync: true, callback: block, read: false, write: true, channel: demo_channel' do
|
135
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671535
|
136
|
+
VCR.use_cassette('test_examples/1000240', record: :once) do
|
137
|
+
event = @pubnub.grant('http_sync' => true, 'read' => false, 'write' => true, 'channel' => 'demo_channel', &@callback)
|
138
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
139
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
140
|
+
end
|
141
|
+
end
|
142
|
+
|
143
|
+
it 'http_sync: true, callback: block, read: false, write: false, ttl: 0, channel: demo_channel' do
|
144
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671535
|
145
|
+
VCR.use_cassette('test_examples/1000237', record: :once) do
|
146
|
+
event = @pubnub.grant('http_sync' => true, 'read' => false, 'write' => false, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
147
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
148
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
152
|
+
it 'http_sync: true, callback: block, read: false, write: false, ttl: 600, channel: demo_channel' do
|
153
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671536
|
154
|
+
VCR.use_cassette('test_examples/1000178', record: :once) do
|
155
|
+
event = @pubnub.grant('http_sync' => true, 'read' => false, 'write' => false, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
156
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
157
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
158
|
+
end
|
159
|
+
end
|
160
|
+
|
161
|
+
it 'http_sync: true, callback: block, read: false, write: false, channel: demo_channel' do
|
162
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671536
|
163
|
+
VCR.use_cassette('test_examples/1000205', record: :once) do
|
164
|
+
event = @pubnub.grant('http_sync' => true, 'read' => false, 'write' => false, 'channel' => 'demo_channel', &@callback)
|
165
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
166
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
167
|
+
end
|
168
|
+
end
|
169
|
+
|
170
|
+
it 'http_sync: true, callback: block, read: false, ttl: 0, channel: demo_channel' do
|
171
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671537
|
172
|
+
VCR.use_cassette('test_examples/1000232', record: :once) do
|
173
|
+
event = @pubnub.grant('http_sync' => true, 'read' => false, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
174
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
175
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
it 'http_sync: true, callback: block, read: false, ttl: 600, channel: demo_channel' do
|
180
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671537
|
181
|
+
VCR.use_cassette('test_examples/1000138', record: :once) do
|
182
|
+
event = @pubnub.grant('http_sync' => true, 'read' => false, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
183
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
184
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
185
|
+
end
|
186
|
+
end
|
187
|
+
|
188
|
+
it 'http_sync: true, callback: block, read: false, channel: demo_channel' do
|
189
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671538
|
190
|
+
VCR.use_cassette('test_examples/1000209', record: :once) do
|
191
|
+
event = @pubnub.grant('http_sync' => true, 'read' => false, 'channel' => 'demo_channel', &@callback)
|
192
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
193
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
194
|
+
end
|
195
|
+
end
|
196
|
+
|
197
|
+
it 'http_sync: true, callback: block, write: true, ttl: 0, channel: demo_channel' do
|
198
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671539
|
199
|
+
VCR.use_cassette('test_examples/1000149', record: :once) do
|
200
|
+
event = @pubnub.grant('http_sync' => true, 'write' => true, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
201
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
202
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
203
|
+
end
|
204
|
+
end
|
205
|
+
|
206
|
+
it 'http_sync: true, callback: block, write: true, ttl: 600, channel: demo_channel' do
|
207
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671539
|
208
|
+
VCR.use_cassette('test_examples/1000179', record: :once) do
|
209
|
+
event = @pubnub.grant('http_sync' => true, 'write' => true, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
210
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
211
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
212
|
+
end
|
213
|
+
end
|
214
|
+
|
215
|
+
it 'http_sync: true, callback: block, write: true, channel: demo_channel' do
|
216
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671539
|
217
|
+
VCR.use_cassette('test_examples/1000199', record: :once) do
|
218
|
+
event = @pubnub.grant('http_sync' => true, 'write' => true, 'channel' => 'demo_channel', &@callback)
|
219
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
220
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
it 'http_sync: true, callback: block, write: false, ttl: 0, channel: demo_channel' do
|
225
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671540
|
226
|
+
VCR.use_cassette('test_examples/1000206', record: :once) do
|
227
|
+
event = @pubnub.grant('http_sync' => true, 'write' => false, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
228
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
229
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
230
|
+
end
|
231
|
+
end
|
232
|
+
|
233
|
+
it 'http_sync: true, callback: block, write: false, ttl: 600, channel: demo_channel' do
|
234
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671542
|
235
|
+
VCR.use_cassette('test_examples/1000230', record: :once) do
|
236
|
+
event = @pubnub.grant('http_sync' => true, 'write' => false, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
237
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
238
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
239
|
+
end
|
240
|
+
end
|
241
|
+
|
242
|
+
it 'http_sync: true, callback: block, write: false, channel: demo_channel' do
|
243
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671542
|
244
|
+
VCR.use_cassette('test_examples/1000203', record: :once) do
|
245
|
+
event = @pubnub.grant('http_sync' => true, 'write' => false, 'channel' => 'demo_channel', &@callback)
|
246
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
247
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
248
|
+
end
|
249
|
+
end
|
250
|
+
|
251
|
+
it 'http_sync: true, callback: block, ttl: 0, channel: demo_channel' do
|
252
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671543
|
253
|
+
VCR.use_cassette('test_examples/1000136', record: :once) do
|
254
|
+
event = @pubnub.grant('http_sync' => true, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
255
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
256
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
260
|
+
it 'http_sync: true, callback: block, ttl: 600, channel: demo_channel' do
|
261
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671543
|
262
|
+
VCR.use_cassette('test_examples/1000233', record: :once) do
|
263
|
+
event = @pubnub.grant('http_sync' => true, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
264
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
265
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
266
|
+
end
|
267
|
+
end
|
268
|
+
|
269
|
+
it 'http_sync: true, callback: block, channel: demo_channel' do
|
270
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671544
|
271
|
+
VCR.use_cassette('test_examples/1000153', record: :once) do
|
272
|
+
event = @pubnub.grant('http_sync' => true, 'channel' => 'demo_channel', &@callback)
|
273
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
274
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
275
|
+
end
|
276
|
+
end
|
277
|
+
|
278
|
+
it 'http_sync: true, callback: parameter, read: true, write: true, ttl: 0, channel: demo_channel' do
|
279
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671544
|
280
|
+
VCR.use_cassette('test_examples/1000223', record: :once) do
|
281
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => true, 'write' => true, 'ttl' => 0, 'channel' => 'demo_channel')
|
282
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
283
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
it 'http_sync: true, callback: parameter, read: true, write: true, ttl: 600, channel: demo_channel' do
|
288
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671545
|
289
|
+
VCR.use_cassette('test_examples/1000171', record: :once) do
|
290
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => true, 'write' => true, 'ttl' => 600, 'channel' => 'demo_channel')
|
291
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
292
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
it 'http_sync: true, callback: parameter, read: true, write: true, channel: demo_channel' do
|
297
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671545
|
298
|
+
VCR.use_cassette('test_examples/1000188', record: :once) do
|
299
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => true, 'write' => true, 'channel' => 'demo_channel')
|
300
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
301
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
302
|
+
end
|
303
|
+
end
|
304
|
+
|
305
|
+
it 'http_sync: true, callback: parameter, read: true, write: false, ttl: 0, channel: demo_channel' do
|
306
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671546
|
307
|
+
VCR.use_cassette('test_examples/1000165', record: :once) do
|
308
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => true, 'write' => false, 'ttl' => 0, 'channel' => 'demo_channel')
|
309
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
310
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
311
|
+
end
|
312
|
+
end
|
313
|
+
|
314
|
+
it 'http_sync: true, callback: parameter, read: true, write: false, ttl: 600, channel: demo_channel' do
|
315
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671546
|
316
|
+
VCR.use_cassette('test_examples/1000148', record: :once) do
|
317
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => true, 'write' => false, 'ttl' => 600, 'channel' => 'demo_channel')
|
318
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
319
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
320
|
+
end
|
321
|
+
end
|
322
|
+
|
323
|
+
it 'http_sync: true, callback: parameter, read: true, write: false, channel: demo_channel' do
|
324
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671546
|
325
|
+
VCR.use_cassette('test_examples/1000211', record: :once) do
|
326
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => true, 'write' => false, 'channel' => 'demo_channel')
|
327
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
328
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
it 'http_sync: true, callback: parameter, read: true, ttl: 0, channel: demo_channel' do
|
333
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671547
|
334
|
+
VCR.use_cassette('test_examples/1000144', record: :once) do
|
335
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => true, 'ttl' => 0, 'channel' => 'demo_channel')
|
336
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
337
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
338
|
+
end
|
339
|
+
end
|
340
|
+
|
341
|
+
it 'http_sync: true, callback: parameter, read: true, ttl: 600, channel: demo_channel' do
|
342
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671548
|
343
|
+
VCR.use_cassette('test_examples/1000208', record: :once) do
|
344
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => true, 'ttl' => 600, 'channel' => 'demo_channel')
|
345
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
346
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
347
|
+
end
|
348
|
+
end
|
349
|
+
|
350
|
+
it 'http_sync: true, callback: parameter, read: true, channel: demo_channel' do
|
351
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671548
|
352
|
+
VCR.use_cassette('test_examples/1000168', record: :once) do
|
353
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => true, 'channel' => 'demo_channel')
|
354
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
355
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
356
|
+
end
|
357
|
+
end
|
358
|
+
|
359
|
+
it 'http_sync: true, callback: parameter, read: false, write: true, ttl: 0, channel: demo_channel' do
|
360
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671549
|
361
|
+
VCR.use_cassette('test_examples/1000215', record: :once) do
|
362
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => false, 'write' => true, 'ttl' => 0, 'channel' => 'demo_channel')
|
363
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
364
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
365
|
+
end
|
366
|
+
end
|
367
|
+
|
368
|
+
it 'http_sync: true, callback: parameter, read: false, write: true, ttl: 600, channel: demo_channel' do
|
369
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671549
|
370
|
+
VCR.use_cassette('test_examples/1000180', record: :once) do
|
371
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => false, 'write' => true, 'ttl' => 600, 'channel' => 'demo_channel')
|
372
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
373
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
374
|
+
end
|
375
|
+
end
|
376
|
+
|
377
|
+
it 'http_sync: true, callback: parameter, read: false, write: true, channel: demo_channel' do
|
378
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671550
|
379
|
+
VCR.use_cassette('test_examples/1000162', record: :once) do
|
380
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => false, 'write' => true, 'channel' => 'demo_channel')
|
381
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
382
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
383
|
+
end
|
384
|
+
end
|
385
|
+
|
386
|
+
it 'http_sync: true, callback: parameter, read: false, write: false, ttl: 0, channel: demo_channel' do
|
387
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671551
|
388
|
+
VCR.use_cassette('test_examples/1000242', record: :once) do
|
389
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => false, 'write' => false, 'ttl' => 0, 'channel' => 'demo_channel')
|
390
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
391
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
392
|
+
end
|
393
|
+
end
|
394
|
+
|
395
|
+
it 'http_sync: true, callback: parameter, read: false, write: false, ttl: 600, channel: demo_channel' do
|
396
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671551
|
397
|
+
VCR.use_cassette('test_examples/1000195', record: :once) do
|
398
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => false, 'write' => false, 'ttl' => 600, 'channel' => 'demo_channel')
|
399
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
400
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
401
|
+
end
|
402
|
+
end
|
403
|
+
|
404
|
+
it 'http_sync: true, callback: parameter, read: false, write: false, channel: demo_channel' do
|
405
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671552
|
406
|
+
VCR.use_cassette('test_examples/1000146', record: :once) do
|
407
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => false, 'write' => false, 'channel' => 'demo_channel')
|
408
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
409
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
410
|
+
end
|
411
|
+
end
|
412
|
+
|
413
|
+
it 'http_sync: true, callback: parameter, read: false, ttl: 0, channel: demo_channel' do
|
414
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671552
|
415
|
+
VCR.use_cassette('test_examples/1000152', record: :once) do
|
416
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => false, 'ttl' => 0, 'channel' => 'demo_channel')
|
417
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
418
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
419
|
+
end
|
420
|
+
end
|
421
|
+
|
422
|
+
it 'http_sync: true, callback: parameter, read: false, ttl: 600, channel: demo_channel' do
|
423
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671553
|
424
|
+
VCR.use_cassette('test_examples/1000243', record: :once) do
|
425
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => false, 'ttl' => 600, 'channel' => 'demo_channel')
|
426
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
427
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
428
|
+
end
|
429
|
+
end
|
430
|
+
|
431
|
+
it 'http_sync: true, callback: parameter, read: false, channel: demo_channel' do
|
432
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671553
|
433
|
+
VCR.use_cassette('test_examples/1000235', record: :once) do
|
434
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'read' => false, 'channel' => 'demo_channel')
|
435
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
436
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|
440
|
+
it 'http_sync: true, callback: parameter, write: true, ttl: 0, channel: demo_channel' do
|
441
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671554
|
442
|
+
VCR.use_cassette('test_examples/1000204', record: :once) do
|
443
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'write' => true, 'ttl' => 0, 'channel' => 'demo_channel')
|
444
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
445
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
446
|
+
end
|
447
|
+
end
|
448
|
+
|
449
|
+
it 'http_sync: true, callback: parameter, write: true, ttl: 600, channel: demo_channel' do
|
450
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671554
|
451
|
+
VCR.use_cassette('test_examples/1000172', record: :once) do
|
452
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'write' => true, 'ttl' => 600, 'channel' => 'demo_channel')
|
453
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
454
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
it 'http_sync: true, callback: parameter, write: true, channel: demo_channel' do
|
459
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671555
|
460
|
+
VCR.use_cassette('test_examples/1000159', record: :once) do
|
461
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'write' => true, 'channel' => 'demo_channel')
|
462
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
463
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
464
|
+
end
|
465
|
+
end
|
466
|
+
|
467
|
+
it 'http_sync: true, callback: parameter, write: false, ttl: 0, channel: demo_channel' do
|
468
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671555
|
469
|
+
VCR.use_cassette('test_examples/1000207', record: :once) do
|
470
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'write' => false, 'ttl' => 0, 'channel' => 'demo_channel')
|
471
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
472
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
473
|
+
end
|
474
|
+
end
|
475
|
+
|
476
|
+
it 'http_sync: true, callback: parameter, write: false, ttl: 600, channel: demo_channel' do
|
477
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671556
|
478
|
+
VCR.use_cassette('test_examples/1000226', record: :once) do
|
479
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'write' => false, 'ttl' => 600, 'channel' => 'demo_channel')
|
480
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
481
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
482
|
+
end
|
483
|
+
end
|
484
|
+
|
485
|
+
it 'http_sync: true, callback: parameter, write: false, channel: demo_channel' do
|
486
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671556
|
487
|
+
VCR.use_cassette('test_examples/1000189', record: :once) do
|
488
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'write' => false, 'channel' => 'demo_channel')
|
489
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
490
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
494
|
+
it 'http_sync: true, callback: parameter, ttl: 0, channel: demo_channel' do
|
495
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671557
|
496
|
+
VCR.use_cassette('test_examples/1000222', record: :once) do
|
497
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'ttl' => 0, 'channel' => 'demo_channel')
|
498
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
499
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
500
|
+
end
|
501
|
+
end
|
502
|
+
|
503
|
+
it 'http_sync: true, callback: parameter, ttl: 600, channel: demo_channel' do
|
504
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671557
|
505
|
+
VCR.use_cassette('test_examples/1000139', record: :once) do
|
506
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'ttl' => 600, 'channel' => 'demo_channel')
|
507
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
508
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
509
|
+
end
|
510
|
+
end
|
511
|
+
|
512
|
+
it 'http_sync: true, callback: parameter, channel: demo_channel' do
|
513
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671558
|
514
|
+
VCR.use_cassette('test_examples/1000217', record: :once) do
|
515
|
+
event = @pubnub.grant('http_sync' => true, 'callback' => :parameter, 'channel' => 'demo_channel')
|
516
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
517
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
521
|
+
it 'http_sync: false, callback: block, read: true, write: true, ttl: 0, channel: demo_channel' do
|
522
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671558
|
523
|
+
VCR.use_cassette('test_examples/1000187', record: :once) do
|
524
|
+
event = @pubnub.grant('http_sync' => false, 'read' => true, 'write' => true, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
525
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
526
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
527
|
+
end
|
528
|
+
end
|
529
|
+
|
530
|
+
it 'http_sync: false, callback: block, read: true, write: true, ttl: 600, channel: demo_channel' do
|
531
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671559
|
532
|
+
VCR.use_cassette('test_examples/1000227', record: :once) do
|
533
|
+
event = @pubnub.grant('http_sync' => false, 'read' => true, 'write' => true, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
534
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
535
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
536
|
+
end
|
537
|
+
end
|
538
|
+
|
539
|
+
it 'http_sync: false, callback: block, read: true, write: true, channel: demo_channel' do
|
540
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671560
|
541
|
+
VCR.use_cassette('test_examples/1000210', record: :once) do
|
542
|
+
event = @pubnub.grant('http_sync' => false, 'read' => true, 'write' => true, 'channel' => 'demo_channel', &@callback)
|
543
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
544
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
545
|
+
end
|
546
|
+
end
|
547
|
+
|
548
|
+
it 'http_sync: false, callback: block, read: true, write: false, ttl: 0, channel: demo_channel' do
|
549
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671560
|
550
|
+
VCR.use_cassette('test_examples/1000185', record: :once) do
|
551
|
+
event = @pubnub.grant('http_sync' => false, 'read' => true, 'write' => false, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
552
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
553
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
554
|
+
end
|
555
|
+
end
|
556
|
+
|
557
|
+
it 'http_sync: false, callback: block, read: true, write: false, ttl: 600, channel: demo_channel' do
|
558
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671560
|
559
|
+
VCR.use_cassette('test_examples/1000213', record: :once) do
|
560
|
+
event = @pubnub.grant('http_sync' => false, 'read' => true, 'write' => false, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
561
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
562
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
563
|
+
end
|
564
|
+
end
|
565
|
+
|
566
|
+
it 'http_sync: false, callback: block, read: true, write: false, channel: demo_channel' do
|
567
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671561
|
568
|
+
VCR.use_cassette('test_examples/1000158', record: :once) do
|
569
|
+
event = @pubnub.grant('http_sync' => false, 'read' => true, 'write' => false, 'channel' => 'demo_channel', &@callback)
|
570
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
571
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
572
|
+
end
|
573
|
+
end
|
574
|
+
|
575
|
+
it 'http_sync: false, callback: block, read: true, ttl: 0, channel: demo_channel' do
|
576
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671562
|
577
|
+
VCR.use_cassette('test_examples/1000202', record: :once) do
|
578
|
+
event = @pubnub.grant('http_sync' => false, 'read' => true, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
579
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
580
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
581
|
+
end
|
582
|
+
end
|
583
|
+
|
584
|
+
it 'http_sync: false, callback: block, read: true, ttl: 600, channel: demo_channel' do
|
585
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671562
|
586
|
+
VCR.use_cassette('test_examples/1000221', record: :once) do
|
587
|
+
event = @pubnub.grant('http_sync' => false, 'read' => true, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
588
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
589
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
590
|
+
end
|
591
|
+
end
|
592
|
+
|
593
|
+
it 'http_sync: false, callback: block, read: true, channel: demo_channel' do
|
594
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671562
|
595
|
+
VCR.use_cassette('test_examples/1000216', record: :once) do
|
596
|
+
event = @pubnub.grant('http_sync' => false, 'read' => true, 'channel' => 'demo_channel', &@callback)
|
597
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
598
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
599
|
+
end
|
600
|
+
end
|
601
|
+
|
602
|
+
it 'http_sync: false, callback: block, read: false, write: true, ttl: 0, channel: demo_channel' do
|
603
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671563
|
604
|
+
VCR.use_cassette('test_examples/1000163', record: :once) do
|
605
|
+
event = @pubnub.grant('http_sync' => false, 'read' => false, 'write' => true, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
606
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
607
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
608
|
+
end
|
609
|
+
end
|
610
|
+
|
611
|
+
it 'http_sync: false, callback: block, read: false, write: true, ttl: 600, channel: demo_channel' do
|
612
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671564
|
613
|
+
VCR.use_cassette('test_examples/1000169', record: :once) do
|
614
|
+
event = @pubnub.grant('http_sync' => false, 'read' => false, 'write' => true, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
615
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
616
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
617
|
+
end
|
618
|
+
end
|
619
|
+
|
620
|
+
it 'http_sync: false, callback: block, read: false, write: true, channel: demo_channel' do
|
621
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671564
|
622
|
+
VCR.use_cassette('test_examples/1000181', record: :once) do
|
623
|
+
event = @pubnub.grant('http_sync' => false, 'read' => false, 'write' => true, 'channel' => 'demo_channel', &@callback)
|
624
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
625
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
626
|
+
end
|
627
|
+
end
|
628
|
+
|
629
|
+
it 'http_sync: false, callback: block, read: false, write: false, ttl: 0, channel: demo_channel' do
|
630
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671565
|
631
|
+
VCR.use_cassette('test_examples/1000241', record: :once) do
|
632
|
+
event = @pubnub.grant('http_sync' => false, 'read' => false, 'write' => false, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
633
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
634
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
635
|
+
end
|
636
|
+
end
|
637
|
+
|
638
|
+
it 'http_sync: false, callback: block, read: false, write: false, ttl: 600, channel: demo_channel' do
|
639
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671565
|
640
|
+
VCR.use_cassette('test_examples/1000197', record: :once) do
|
641
|
+
event = @pubnub.grant('http_sync' => false, 'read' => false, 'write' => false, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
642
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
643
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
644
|
+
end
|
645
|
+
end
|
646
|
+
|
647
|
+
it 'http_sync: false, callback: block, read: false, write: false, channel: demo_channel' do
|
648
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671566
|
649
|
+
VCR.use_cassette('test_examples/1000220', record: :once) do
|
650
|
+
event = @pubnub.grant('http_sync' => false, 'read' => false, 'write' => false, 'channel' => 'demo_channel', &@callback)
|
651
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
652
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
653
|
+
end
|
654
|
+
end
|
655
|
+
|
656
|
+
it 'http_sync: false, callback: block, read: false, ttl: 0, channel: demo_channel' do
|
657
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671566
|
658
|
+
VCR.use_cassette('test_examples/1000193', record: :once) do
|
659
|
+
event = @pubnub.grant('http_sync' => false, 'read' => false, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
660
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
661
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
662
|
+
end
|
663
|
+
end
|
664
|
+
|
665
|
+
it 'http_sync: false, callback: block, read: false, ttl: 600, channel: demo_channel' do
|
666
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671567
|
667
|
+
VCR.use_cassette('test_examples/1000164', record: :once) do
|
668
|
+
event = @pubnub.grant('http_sync' => false, 'read' => false, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
669
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
670
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
671
|
+
end
|
672
|
+
end
|
673
|
+
|
674
|
+
it 'http_sync: false, callback: block, read: false, channel: demo_channel' do
|
675
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671567
|
676
|
+
VCR.use_cassette('test_examples/1000140', record: :once) do
|
677
|
+
event = @pubnub.grant('http_sync' => false, 'read' => false, 'channel' => 'demo_channel', &@callback)
|
678
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
679
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
683
|
+
it 'http_sync: false, callback: block, write: true, ttl: 0, channel: demo_channel' do
|
684
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671568
|
685
|
+
VCR.use_cassette('test_examples/1000225', record: :once) do
|
686
|
+
event = @pubnub.grant('http_sync' => false, 'write' => true, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
687
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
688
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
689
|
+
end
|
690
|
+
end
|
691
|
+
|
692
|
+
it 'http_sync: false, callback: block, write: true, ttl: 600, channel: demo_channel' do
|
693
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671569
|
694
|
+
VCR.use_cassette('test_examples/1000194', record: :once) do
|
695
|
+
event = @pubnub.grant('http_sync' => false, 'write' => true, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
696
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
697
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
698
|
+
end
|
699
|
+
end
|
700
|
+
|
701
|
+
it 'http_sync: false, callback: block, write: true, channel: demo_channel' do
|
702
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671569
|
703
|
+
VCR.use_cassette('test_examples/1000156', record: :once) do
|
704
|
+
event = @pubnub.grant('http_sync' => false, 'write' => true, 'channel' => 'demo_channel', &@callback)
|
705
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
706
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
707
|
+
end
|
708
|
+
end
|
709
|
+
|
710
|
+
it 'http_sync: false, callback: block, write: false, ttl: 0, channel: demo_channel' do
|
711
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671570
|
712
|
+
VCR.use_cassette('test_examples/1000155', record: :once) do
|
713
|
+
event = @pubnub.grant('http_sync' => false, 'write' => false, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
714
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
715
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
716
|
+
end
|
717
|
+
end
|
718
|
+
|
719
|
+
it 'http_sync: false, callback: block, write: false, ttl: 600, channel: demo_channel' do
|
720
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671570
|
721
|
+
VCR.use_cassette('test_examples/1000176', record: :once) do
|
722
|
+
event = @pubnub.grant('http_sync' => false, 'write' => false, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
723
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
724
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
725
|
+
end
|
726
|
+
end
|
727
|
+
|
728
|
+
it 'http_sync: false, callback: block, write: false, channel: demo_channel' do
|
729
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671571
|
730
|
+
VCR.use_cassette('test_examples/1000177', record: :once) do
|
731
|
+
event = @pubnub.grant('http_sync' => false, 'write' => false, 'channel' => 'demo_channel', &@callback)
|
732
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
733
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
734
|
+
end
|
735
|
+
end
|
736
|
+
|
737
|
+
it 'http_sync: false, callback: block, ttl: 0, channel: demo_channel' do
|
738
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671571
|
739
|
+
VCR.use_cassette('test_examples/1000236', record: :once) do
|
740
|
+
event = @pubnub.grant('http_sync' => false, 'ttl' => 0, 'channel' => 'demo_channel', &@callback)
|
741
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
742
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
746
|
+
it 'http_sync: false, callback: block, ttl: 600, channel: demo_channel' do
|
747
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671572
|
748
|
+
VCR.use_cassette('test_examples/1000198', record: :once) do
|
749
|
+
event = @pubnub.grant('http_sync' => false, 'ttl' => 600, 'channel' => 'demo_channel', &@callback)
|
750
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
751
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
755
|
+
it 'http_sync: false, callback: block, channel: demo_channel' do
|
756
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671572
|
757
|
+
VCR.use_cassette('test_examples/1000170', record: :once) do
|
758
|
+
event = @pubnub.grant('http_sync' => false, 'channel' => 'demo_channel', &@callback)
|
759
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
760
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
761
|
+
end
|
762
|
+
end
|
763
|
+
|
764
|
+
it 'http_sync: false, callback: parameter, read: true, write: true, ttl: 0, channel: demo_channel' do
|
765
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671573
|
766
|
+
VCR.use_cassette('test_examples/1000161', record: :once) do
|
767
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => true, 'write' => true, 'ttl' => 0, 'channel' => 'demo_channel')
|
768
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
769
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
770
|
+
end
|
771
|
+
end
|
772
|
+
|
773
|
+
it 'http_sync: false, callback: parameter, read: true, write: true, ttl: 600, channel: demo_channel' do
|
774
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671573
|
775
|
+
VCR.use_cassette('test_examples/1000167', record: :once) do
|
776
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => true, 'write' => true, 'ttl' => 600, 'channel' => 'demo_channel')
|
777
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
778
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
779
|
+
end
|
780
|
+
end
|
781
|
+
|
782
|
+
it 'http_sync: false, callback: parameter, read: true, write: true, channel: demo_channel' do
|
783
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671574
|
784
|
+
VCR.use_cassette('test_examples/1000231', record: :once) do
|
785
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => true, 'write' => true, 'channel' => 'demo_channel')
|
786
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
787
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
791
|
+
it 'http_sync: false, callback: parameter, read: true, write: false, ttl: 0, channel: demo_channel' do
|
792
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671574
|
793
|
+
VCR.use_cassette('test_examples/1000147', record: :once) do
|
794
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => true, 'write' => false, 'ttl' => 0, 'channel' => 'demo_channel')
|
795
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
796
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
797
|
+
end
|
798
|
+
end
|
799
|
+
|
800
|
+
it 'http_sync: false, callback: parameter, read: true, write: false, ttl: 600, channel: demo_channel' do
|
801
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671576
|
802
|
+
VCR.use_cassette('test_examples/1000201', record: :once) do
|
803
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => true, 'write' => false, 'ttl' => 600, 'channel' => 'demo_channel')
|
804
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
805
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
806
|
+
end
|
807
|
+
end
|
808
|
+
|
809
|
+
it 'http_sync: false, callback: parameter, read: true, write: false, channel: demo_channel' do
|
810
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671577
|
811
|
+
VCR.use_cassette('test_examples/1000137', record: :once) do
|
812
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => true, 'write' => false, 'channel' => 'demo_channel')
|
813
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
814
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
818
|
+
it 'http_sync: false, callback: parameter, read: true, ttl: 0, channel: demo_channel' do
|
819
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671577
|
820
|
+
VCR.use_cassette('test_examples/1000142', record: :once) do
|
821
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => true, 'ttl' => 0, 'channel' => 'demo_channel')
|
822
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
823
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
824
|
+
end
|
825
|
+
end
|
826
|
+
|
827
|
+
it 'http_sync: false, callback: parameter, read: true, ttl: 600, channel: demo_channel' do
|
828
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671578
|
829
|
+
VCR.use_cassette('test_examples/1000173', record: :once) do
|
830
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => true, 'ttl' => 600, 'channel' => 'demo_channel')
|
831
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
832
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
833
|
+
end
|
834
|
+
end
|
835
|
+
|
836
|
+
it 'http_sync: false, callback: parameter, read: true, channel: demo_channel' do
|
837
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671578
|
838
|
+
VCR.use_cassette('test_examples/1000190', record: :once) do
|
839
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => true, 'channel' => 'demo_channel')
|
840
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
841
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
842
|
+
end
|
843
|
+
end
|
844
|
+
|
845
|
+
it 'http_sync: false, callback: parameter, read: false, write: true, ttl: 0, channel: demo_channel' do
|
846
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671578
|
847
|
+
VCR.use_cassette('test_examples/1000186', record: :once) do
|
848
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => false, 'write' => true, 'ttl' => 0, 'channel' => 'demo_channel')
|
849
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
850
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
851
|
+
end
|
852
|
+
end
|
853
|
+
|
854
|
+
it 'http_sync: false, callback: parameter, read: false, write: true, ttl: 600, channel: demo_channel' do
|
855
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671579
|
856
|
+
VCR.use_cassette('test_examples/1000166', record: :once) do
|
857
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => false, 'write' => true, 'ttl' => 600, 'channel' => 'demo_channel')
|
858
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
859
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
860
|
+
end
|
861
|
+
end
|
862
|
+
|
863
|
+
it 'http_sync: false, callback: parameter, read: false, write: true, channel: demo_channel' do
|
864
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671579
|
865
|
+
VCR.use_cassette('test_examples/1000238', record: :once) do
|
866
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => false, 'write' => true, 'channel' => 'demo_channel')
|
867
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
868
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
869
|
+
end
|
870
|
+
end
|
871
|
+
|
872
|
+
it 'http_sync: false, callback: parameter, read: false, write: false, ttl: 0, channel: demo_channel' do
|
873
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671580
|
874
|
+
VCR.use_cassette('test_examples/1000175', record: :once) do
|
875
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => false, 'write' => false, 'ttl' => 0, 'channel' => 'demo_channel')
|
876
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
877
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
878
|
+
end
|
879
|
+
end
|
880
|
+
|
881
|
+
it 'http_sync: false, callback: parameter, read: false, write: false, ttl: 600, channel: demo_channel' do
|
882
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671581
|
883
|
+
VCR.use_cassette('test_examples/1000192', record: :once) do
|
884
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => false, 'write' => false, 'ttl' => 600, 'channel' => 'demo_channel')
|
885
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
886
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
887
|
+
end
|
888
|
+
end
|
889
|
+
|
890
|
+
it 'http_sync: false, callback: parameter, read: false, write: false, channel: demo_channel' do
|
891
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671581
|
892
|
+
VCR.use_cassette('test_examples/1000214', record: :once) do
|
893
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => false, 'write' => false, 'channel' => 'demo_channel')
|
894
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
895
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
896
|
+
end
|
897
|
+
end
|
898
|
+
|
899
|
+
it 'http_sync: false, callback: parameter, read: false, ttl: 0, channel: demo_channel' do
|
900
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671582
|
901
|
+
VCR.use_cassette('test_examples/1000196', record: :once) do
|
902
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => false, 'ttl' => 0, 'channel' => 'demo_channel')
|
903
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
904
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
905
|
+
end
|
906
|
+
end
|
907
|
+
|
908
|
+
it 'http_sync: false, callback: parameter, read: false, ttl: 600, channel: demo_channel' do
|
909
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671582
|
910
|
+
VCR.use_cassette('test_examples/1000174', record: :once) do
|
911
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => false, 'ttl' => 600, 'channel' => 'demo_channel')
|
912
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
913
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
914
|
+
end
|
915
|
+
end
|
916
|
+
|
917
|
+
it 'http_sync: false, callback: parameter, read: false, channel: demo_channel' do
|
918
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671583
|
919
|
+
VCR.use_cassette('test_examples/1000228', record: :once) do
|
920
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'read' => false, 'channel' => 'demo_channel')
|
921
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":0,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
922
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
923
|
+
end
|
924
|
+
end
|
925
|
+
|
926
|
+
it 'http_sync: false, callback: parameter, write: true, ttl: 0, channel: demo_channel' do
|
927
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671583
|
928
|
+
VCR.use_cassette('test_examples/1000182', record: :once) do
|
929
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'write' => true, 'ttl' => 0, 'channel' => 'demo_channel')
|
930
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
931
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
932
|
+
end
|
933
|
+
end
|
934
|
+
|
935
|
+
it 'http_sync: false, callback: parameter, write: true, ttl: 600, channel: demo_channel' do
|
936
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671584
|
937
|
+
VCR.use_cassette('test_examples/1000224', record: :once) do
|
938
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'write' => true, 'ttl' => 600, 'channel' => 'demo_channel')
|
939
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
940
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
941
|
+
end
|
942
|
+
end
|
943
|
+
|
944
|
+
it 'http_sync: false, callback: parameter, write: true, channel: demo_channel' do
|
945
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671584
|
946
|
+
VCR.use_cassette('test_examples/1000200', record: :once) do
|
947
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'write' => true, 'channel' => 'demo_channel')
|
948
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
949
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
950
|
+
end
|
951
|
+
end
|
952
|
+
|
953
|
+
it 'http_sync: false, callback: parameter, write: false, ttl: 0, channel: demo_channel' do
|
954
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671585
|
955
|
+
VCR.use_cassette('test_examples/1000229', record: :once) do
|
956
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'write' => false, 'ttl' => 0, 'channel' => 'demo_channel')
|
957
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
958
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
959
|
+
end
|
960
|
+
end
|
961
|
+
|
962
|
+
it 'http_sync: false, callback: parameter, write: false, ttl: 600, channel: demo_channel' do
|
963
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671585
|
964
|
+
VCR.use_cassette('test_examples/1000234', record: :once) do
|
965
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'write' => false, 'ttl' => 600, 'channel' => 'demo_channel')
|
966
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
967
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
968
|
+
end
|
969
|
+
end
|
970
|
+
|
971
|
+
it 'http_sync: false, callback: parameter, write: false, channel: demo_channel' do
|
972
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671585
|
973
|
+
VCR.use_cassette('test_examples/1000191', record: :once) do
|
974
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'write' => false, 'channel' => 'demo_channel')
|
975
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":0}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
976
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
977
|
+
end
|
978
|
+
end
|
979
|
+
|
980
|
+
it 'http_sync: false, callback: parameter, ttl: 0, channel: demo_channel' do
|
981
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671586
|
982
|
+
VCR.use_cassette('test_examples/1000219', record: :once) do
|
983
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'ttl' => 0, 'channel' => 'demo_channel')
|
984
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":0,\"level\":\"channel\"}}"]
|
985
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
986
|
+
end
|
987
|
+
end
|
988
|
+
|
989
|
+
it 'http_sync: false, callback: parameter, ttl: 600, channel: demo_channel' do
|
990
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671586
|
991
|
+
VCR.use_cassette('test_examples/1000184', record: :once) do
|
992
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'ttl' => 600, 'channel' => 'demo_channel')
|
993
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":600,\"level\":\"channel\"}}"]
|
994
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
995
|
+
end
|
996
|
+
end
|
997
|
+
|
998
|
+
it 'http_sync: false, callback: parameter, channel: demo_channel' do
|
999
|
+
stub_const('Pubnub::VERSION', '4.0.0beta'); Pubnub::Grant.any_instance.stub(:current_time).and_return 1435671587
|
1000
|
+
VCR.use_cassette('test_examples/1000160', record: :once) do
|
1001
|
+
event = @pubnub.grant('http_sync' => false, 'callback' => :parameter, 'channel' => 'demo_channel')
|
1002
|
+
expect(event.value.map { |e| e.response }).to eq ["{\"status\":200,\"service\":\"Access Manager\",\"message\":\"Success\",\"payload\":{\"channels\":{\"demo_channel\":{\"r\":1,\"m\":1,\"w\":1}},\"subscribe_key\":\"sub-c-719173ee-ff28-11e4-ab7c-0619f8945a4f\",\"ttl\":1440,\"level\":\"channel\"}}"]
|
1003
|
+
expect(event.value.map { |e| e.message }).to eq ["Success"]
|
1004
|
+
end
|
1005
|
+
end
|
1006
|
+
|
1007
|
+
|
1008
|
+
end
|
1009
|
+
|