pubnub 3.8.5 → 4.0.0beta1

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.

Files changed (1744) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -1
  3. data/.rubocop.yml +1 -1
  4. data/.travis.yml +4 -4
  5. data/CHANGELOG.md +3 -2
  6. data/Gemfile +2 -1
  7. data/Gemfile.lock +39 -7
  8. data/README.md +4 -647
  9. data/VERSION +1 -1
  10. data/docs.md +514 -0
  11. data/fixtures/vcr_cassettes/lib/events/audit-error.yml +41 -0
  12. data/fixtures/vcr_cassettes/lib/events/audit-json-error.yml +42 -0
  13. data/fixtures/vcr_cassettes/lib/events/audit-works.yml +44 -0
  14. data/fixtures/vcr_cassettes/lib/events/channel-registration-error.yml +50 -0
  15. data/fixtures/vcr_cassettes/{integration/channel_groups/remove-ns-csv.yml → lib/events/channel-registration.yml} +11 -15
  16. data/fixtures/vcr_cassettes/lib/events/grant-error.yml +42 -0
  17. data/fixtures/vcr_cassettes/lib/events/grant.yml +43 -0
  18. data/fixtures/vcr_cassettes/{test_examples/1000450.yml → lib/events/heartbeat-error.yml} +17 -21
  19. data/fixtures/vcr_cassettes/{test_examples/1000252.yml → lib/events/heartbeat.yml} +14 -19
  20. data/fixtures/vcr_cassettes/{integration/here_now/here_now-ssl-block-invalid-200-async.yml → lib/events/here-now-error.yml} +13 -15
  21. data/fixtures/vcr_cassettes/{test_examples/1000251.yml → lib/events/here-now.yml} +12 -16
  22. data/fixtures/vcr_cassettes/{test_examples/1000263.yml → lib/events/history-error.yml} +13 -17
  23. data/fixtures/vcr_cassettes/{test_examples/1000273.yml → lib/events/history.yml} +12 -16
  24. data/fixtures/vcr_cassettes/lib/events/leave-error.yml +45 -0
  25. data/fixtures/vcr_cassettes/lib/events/leave.yml +46 -0
  26. data/fixtures/vcr_cassettes/{client/connection_callbacks_2.yml → lib/events/presence-async-error.yml} +10 -10
  27. data/fixtures/vcr_cassettes/lib/events/presence-async.yml +78 -0
  28. data/fixtures/vcr_cassettes/{integration/subscribe/subscribe-nonssl-block-valid-200-async.yml → lib/events/presence-sync-error.yml} +19 -27
  29. data/fixtures/vcr_cassettes/lib/events/presence-sync.yml +78 -0
  30. data/fixtures/vcr_cassettes/{integration/publish/publish-meta.yml → lib/events/publish-error.yml} +9 -9
  31. data/fixtures/vcr_cassettes/lib/events/publish.yml +40 -0
  32. data/fixtures/vcr_cassettes/lib/events/revoke-error.yml +42 -0
  33. data/fixtures/vcr_cassettes/lib/events/revoke.yml +43 -0
  34. data/fixtures/vcr_cassettes/{integration/here_now/here_now-nonssl-parameter-invalid-200-sync.yml → lib/events/state-error.yml} +13 -15
  35. data/fixtures/vcr_cassettes/lib/events/state.yml +47 -0
  36. data/fixtures/vcr_cassettes/{client/connection_callbacks_0.yml → lib/events/subscribe-async-error.yml} +10 -10
  37. data/fixtures/vcr_cassettes/lib/events/subscribe-async.yml +77 -0
  38. data/fixtures/vcr_cassettes/{integration/presence/presence-ssl-block-invalid-200-async.yml → lib/events/subscribe-sync-error.yml} +19 -27
  39. data/fixtures/vcr_cassettes/lib/events/subscribe-sync.yml +77 -0
  40. data/fixtures/vcr_cassettes/{new_ones/multiplexed_subscribe.yml → lib/events/time-error.yml} +10 -10
  41. data/fixtures/vcr_cassettes/{integration/time/time-nonssl-parameter-invalid-200-sync.yml → lib/events/time.yml} +9 -13
  42. data/fixtures/vcr_cassettes/{integration/here_now/here_now-ssl-parameter-invalid-200-async.yml → lib/events/where-now-error.yml} +13 -15
  43. data/fixtures/vcr_cassettes/{integration/set_state/1.yml → lib/events/where-now.yml} +11 -11
  44. data/lib/pubnub.rb +1 -1
  45. data/lib/pubnub/client.rb +71 -20
  46. data/lib/pubnub/configuration.rb +11 -34
  47. data/lib/pubnub/constants.rb +68 -0
  48. data/lib/pubnub/envelope.rb +15 -27
  49. data/lib/pubnub/error.rb +0 -1
  50. data/lib/pubnub/error_envelope.rb +1 -27
  51. data/lib/pubnub/event.rb +54 -54
  52. data/lib/pubnub/events/channel_registration.rb +126 -28
  53. data/lib/pubnub/events/grant.rb +1 -1
  54. data/lib/pubnub/events/heartbeat.rb +51 -17
  55. data/lib/pubnub/events/here_now.rb +71 -21
  56. data/lib/pubnub/events/history.rb +70 -28
  57. data/lib/pubnub/events/leave.rb +48 -18
  58. data/lib/pubnub/events/publish.rb +65 -25
  59. data/lib/pubnub/events/revoke.rb +1 -1
  60. data/lib/pubnub/events/set_state.rb +22 -16
  61. data/lib/pubnub/events/state.rb +61 -21
  62. data/lib/pubnub/events/time.rb +57 -19
  63. data/lib/pubnub/events/where_now.rb +58 -21
  64. data/lib/pubnub/pam.rb +88 -30
  65. data/lib/pubnub/schemas/envelope_schema.rb +58 -0
  66. data/lib/pubnub/subscribe_callback.rb +25 -0
  67. data/lib/pubnub/subscribe_event.rb +44 -29
  68. data/lib/pubnub/subscribe_event/adding.rb +4 -5
  69. data/lib/pubnub/subscribe_event/callbacks.rb +11 -39
  70. data/lib/pubnub/subscribe_event/formatter.rb +170 -84
  71. data/lib/pubnub/subscribe_event/removing.rb +0 -5
  72. data/lib/pubnub/subscriber.rb +201 -21
  73. data/lib/pubnub/validators/channel_registration.rb +7 -0
  74. data/lib/pubnub/validators/publish.rb +2 -2
  75. data/lib/pubnub/validators/subscribe.rb +8 -8
  76. data/lib/pubnub/version.rb +1 -1
  77. data/pubnub.gemspec +2 -1
  78. data/spec/lib/client_spec.rb +1 -1
  79. data/spec/lib/connection_callback_spec.rb +60 -60
  80. data/spec/lib/custom_retries_examples_spec.rb +60 -0
  81. data/spec/lib/event_spec.rb +3 -3
  82. data/spec/lib/events/audit_spec.rb +52 -2
  83. data/spec/lib/events/channel_registration_spec.rb +40 -1
  84. data/spec/lib/events/grant_spec.rb +40 -1
  85. data/spec/lib/events/heartbeat_spec.rb +34 -1
  86. data/spec/lib/events/here_now_spec.rb +35 -1
  87. data/spec/lib/events/history_spec.rb +35 -1
  88. data/spec/lib/events/leave_spec.rb +34 -1
  89. data/spec/lib/events/presence_spec.rb +109 -2
  90. data/spec/lib/events/publish_spec.rb +26 -74
  91. data/spec/lib/events/revoke_spec.rb +39 -1
  92. data/spec/lib/events/state_spec.rb +37 -1
  93. data/spec/lib/events/subscribe_spec.rb +106 -1
  94. data/spec/lib/events/time_spec.rb +29 -1
  95. data/spec/lib/events/where_now_spec.rb +34 -1
  96. data/spec/spec_expectations.rb +13 -0
  97. data/spec/spec_helper.rb +10 -7
  98. metadata +62 -1700
  99. data/.yardoc/checksums +0 -43
  100. data/.yardoc/object_types +0 -0
  101. data/.yardoc/objects/root.dat +0 -0
  102. data/.yardoc/proxy_types +0 -0
  103. data/doc/Object.html +0 -287
  104. data/doc/Pubnub.html +0 -367
  105. data/doc/Pubnub/ArgumentError.html +0 -147
  106. data/doc/Pubnub/Audit.html +0 -256
  107. data/doc/Pubnub/ChannelRegistration.html +0 -245
  108. data/doc/Pubnub/Client.html +0 -1145
  109. data/doc/Pubnub/Client/Connections.html +0 -211
  110. data/doc/Pubnub/Client/Events.html +0 -132
  111. data/doc/Pubnub/Client/PagedHistory.html +0 -264
  112. data/doc/Pubnub/Configuration.html +0 -221
  113. data/doc/Pubnub/Crypto.html +0 -364
  114. data/doc/Pubnub/Envelope.html +0 -1962
  115. data/doc/Pubnub/Error.html +0 -386
  116. data/doc/Pubnub/ErrorEnvelope.html +0 -312
  117. data/doc/Pubnub/Event.html +0 -1163
  118. data/doc/Pubnub/Formatter.html +0 -868
  119. data/doc/Pubnub/Grant.html +0 -258
  120. data/doc/Pubnub/Heart.html +0 -355
  121. data/doc/Pubnub/Heartbeat.html +0 -254
  122. data/doc/Pubnub/HereNow.html +0 -245
  123. data/doc/Pubnub/History.html +0 -243
  124. data/doc/Pubnub/InitializationError.html +0 -147
  125. data/doc/Pubnub/JSONParseError.html +0 -147
  126. data/doc/Pubnub/Leave.html +0 -305
  127. data/doc/Pubnub/Message.html +0 -125
  128. data/doc/Pubnub/Message/AddSubscription.html +0 -298
  129. data/doc/Pubnub/Message/Done.html +0 -298
  130. data/doc/Pubnub/Message/InternalMessage.html +0 -124
  131. data/doc/Pubnub/Message/RemoveSubscription.html +0 -298
  132. data/doc/Pubnub/Message/Stop.html +0 -298
  133. data/doc/Pubnub/OriginManager.html +0 -583
  134. data/doc/Pubnub/PAM.html +0 -642
  135. data/doc/Pubnub/Presence.html +0 -353
  136. data/doc/Pubnub/Publish.html +0 -243
  137. data/doc/Pubnub/RequestDispatcher.html +0 -291
  138. data/doc/Pubnub/RequestError.html +0 -147
  139. data/doc/Pubnub/ResponseError.html +0 -147
  140. data/doc/Pubnub/Revoke.html +0 -258
  141. data/doc/Pubnub/SingleEvent.html +0 -158
  142. data/doc/Pubnub/State.html +0 -161
  143. data/doc/Pubnub/Subscribe.html +0 -293
  144. data/doc/Pubnub/SubscribeEvent.html +0 -559
  145. data/doc/Pubnub/SubscribeEvent/Adding.html +0 -316
  146. data/doc/Pubnub/SubscribeEvent/Formatter.html +0 -115
  147. data/doc/Pubnub/SubscribeEvent/Heartbeat.html +0 -119
  148. data/doc/Pubnub/SubscribeEvent/Removing.html +0 -324
  149. data/doc/Pubnub/Time.html +0 -243
  150. data/doc/Pubnub/UUID.html +0 -190
  151. data/doc/Pubnub/Validator.html +0 -127
  152. data/doc/Pubnub/Validator/Client.html +0 -203
  153. data/doc/Pubnub/Validator/CommonValidator.html +0 -381
  154. data/doc/Pubnub/Validator/Publish.html +0 -197
  155. data/doc/Pubnub/Validator/Subscribe.html +0 -197
  156. data/doc/Pubnub/WhereNow.html +0 -247
  157. data/doc/_index.html +0 -629
  158. data/doc/class_list.html +0 -58
  159. data/doc/css/common.css +0 -1
  160. data/doc/css/full_list.css +0 -57
  161. data/doc/css/style.css +0 -339
  162. data/doc/file.README.html +0 -772
  163. data/doc/file_list.html +0 -60
  164. data/doc/frames.html +0 -26
  165. data/doc/index.html +0 -772
  166. data/doc/js/app.js +0 -219
  167. data/doc/js/full_list.js +0 -181
  168. data/doc/js/jquery.js +0 -4
  169. data/doc/method_list.html +0 -885
  170. data/doc/top-level-namespace.html +0 -114
  171. data/fixtures/vcr_cassettes/client/connection-for-non-subscribe.yml +0 -44
  172. data/fixtures/vcr_cassettes/client/connection-for-subscribe.yml +0 -44
  173. data/fixtures/vcr_cassettes/client/connection_callbacks_1.yml +0 -40
  174. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-block-invalid-200-async.yml +0 -44
  175. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-block-invalid-200-sync.yml +0 -44
  176. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-block-invalid-non-200-async.yml +0 -44
  177. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-block-invalid-non-200-sync.yml +0 -44
  178. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-block-valid-200-async.yml +0 -45
  179. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-block-valid-200-sync.yml +0 -45
  180. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-block-valid-non-200-async.yml +0 -45
  181. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-block-valid-non-200-sync.yml +0 -45
  182. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-parameter-invalid-200-async.yml +0 -44
  183. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-parameter-invalid-200-sync.yml +0 -44
  184. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-parameter-invalid-non-200-async.yml +0 -44
  185. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-parameter-invalid-non-200-sync.yml +0 -44
  186. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-parameter-valid-200-async.yml +0 -45
  187. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-parameter-valid-200-sync.yml +0 -45
  188. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-parameter-valid-non-200-async.yml +0 -45
  189. data/fixtures/vcr_cassettes/integration/audit/audit-nonssl-parameter-valid-non-200-sync.yml +0 -45
  190. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-block-invalid-200-async.yml +0 -44
  191. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-block-invalid-200-sync.yml +0 -44
  192. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-block-invalid-non-200-async.yml +0 -44
  193. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-block-invalid-non-200-sync.yml +0 -44
  194. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-block-valid-200-async.yml +0 -45
  195. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-block-valid-200-sync.yml +0 -45
  196. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-block-valid-non-200-async.yml +0 -45
  197. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-block-valid-non-200-sync.yml +0 -45
  198. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-parameter-invalid-200-async.yml +0 -44
  199. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-parameter-invalid-200-sync.yml +0 -44
  200. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-parameter-invalid-non-200-async.yml +0 -44
  201. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-parameter-invalid-non-200-sync.yml +0 -44
  202. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-parameter-valid-200-async.yml +0 -45
  203. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-parameter-valid-200-sync.yml +0 -45
  204. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-parameter-valid-non-200-async.yml +0 -45
  205. data/fixtures/vcr_cassettes/integration/audit/audit-ssl-parameter-valid-non-200-sync.yml +0 -45
  206. data/fixtures/vcr_cassettes/integration/channel_groups/add-c-as-array.yml +0 -51
  207. data/fixtures/vcr_cassettes/integration/channel_groups/add-c-as-csv.yml +0 -51
  208. data/fixtures/vcr_cassettes/integration/channel_groups/add-c-as-string.yml +0 -51
  209. data/fixtures/vcr_cassettes/integration/channel_groups/add-c-as-symbol.yml +0 -51
  210. data/fixtures/vcr_cassettes/integration/channel_groups/audit-cg.yml +0 -44
  211. data/fixtures/vcr_cassettes/integration/channel_groups/audit-ns.yml +0 -44
  212. data/fixtures/vcr_cassettes/integration/channel_groups/grant-cg.yml +0 -44
  213. data/fixtures/vcr_cassettes/integration/channel_groups/grant-ns.yml +0 -44
  214. data/fixtures/vcr_cassettes/integration/channel_groups/here_now-cg.yml +0 -51
  215. data/fixtures/vcr_cassettes/integration/channel_groups/leave-cg-c.yml +0 -132
  216. data/fixtures/vcr_cassettes/integration/channel_groups/leave-cg.yml +0 -175
  217. data/fixtures/vcr_cassettes/integration/channel_groups/list-all-c-in-in-ns-cg.yml +0 -50
  218. data/fixtures/vcr_cassettes/integration/channel_groups/list-all-c-in-non-ns-cg.yml +0 -51
  219. data/fixtures/vcr_cassettes/integration/channel_groups/list-all-cg-in-ns.yml +0 -51
  220. data/fixtures/vcr_cassettes/integration/channel_groups/list-all-namespaces.yml +0 -50
  221. data/fixtures/vcr_cassettes/integration/channel_groups/list-all-non-namespaced-cg.yml +0 -49
  222. data/fixtures/vcr_cassettes/integration/channel_groups/remove-c-as-array.yml +0 -51
  223. data/fixtures/vcr_cassettes/integration/channel_groups/remove-c-as-csv.yml +0 -51
  224. data/fixtures/vcr_cassettes/integration/channel_groups/remove-c-as-string.yml +0 -51
  225. data/fixtures/vcr_cassettes/integration/channel_groups/remove-c-as-symbol.yml +0 -51
  226. data/fixtures/vcr_cassettes/integration/channel_groups/remove-cg-from-ns-csv.yml +0 -51
  227. data/fixtures/vcr_cassettes/integration/channel_groups/subscribe-cg-and-channel.yml +0 -85
  228. data/fixtures/vcr_cassettes/integration/channel_groups/subscribe-cg-only.yml +0 -85
  229. data/fixtures/vcr_cassettes/integration/channel_registration/add-c-as-array.yml +0 -51
  230. data/fixtures/vcr_cassettes/integration/channel_registration/add-c-as-csv.yml +0 -51
  231. data/fixtures/vcr_cassettes/integration/channel_registration/add-c-as-string.yml +0 -51
  232. data/fixtures/vcr_cassettes/integration/channel_registration/add-c-as-symbol.yml +0 -51
  233. data/fixtures/vcr_cassettes/integration/channel_registration/audit-cg.yml +0 -44
  234. data/fixtures/vcr_cassettes/integration/channel_registration/audit-ns.yml +0 -44
  235. data/fixtures/vcr_cassettes/integration/channel_registration/grant-cg.yml +0 -44
  236. data/fixtures/vcr_cassettes/integration/channel_registration/grant-ns.yml +0 -44
  237. data/fixtures/vcr_cassettes/integration/channel_registration/here_now-cg.yml +0 -51
  238. data/fixtures/vcr_cassettes/integration/channel_registration/leave-cg-c.yml +0 -132
  239. data/fixtures/vcr_cassettes/integration/channel_registration/leave-cg.yml +0 -133
  240. data/fixtures/vcr_cassettes/integration/channel_registration/list-all-c-in-in-ns-cg.yml +0 -50
  241. data/fixtures/vcr_cassettes/integration/channel_registration/list-all-c-in-non-ns-cg.yml +0 -51
  242. data/fixtures/vcr_cassettes/integration/channel_registration/list-all-cg-in-ns.yml +0 -51
  243. data/fixtures/vcr_cassettes/integration/channel_registration/list-all-namespaces.yml +0 -50
  244. data/fixtures/vcr_cassettes/integration/channel_registration/list-all-non-namespaced-cg.yml +0 -49
  245. data/fixtures/vcr_cassettes/integration/channel_registration/remove-c-as-array.yml +0 -51
  246. data/fixtures/vcr_cassettes/integration/channel_registration/remove-c-as-csv.yml +0 -51
  247. data/fixtures/vcr_cassettes/integration/channel_registration/remove-c-as-string.yml +0 -51
  248. data/fixtures/vcr_cassettes/integration/channel_registration/remove-c-as-symbol.yml +0 -51
  249. data/fixtures/vcr_cassettes/integration/channel_registration/remove-cg-from-ns-csv.yml +0 -51
  250. data/fixtures/vcr_cassettes/integration/channel_registration/remove-ns-csv.yml +0 -51
  251. data/fixtures/vcr_cassettes/integration/channel_registration/subscribe-cg-and-channel.yml +0 -85
  252. data/fixtures/vcr_cassettes/integration/channel_registration/subscribe-cg-only.yml +0 -85
  253. data/fixtures/vcr_cassettes/integration/grant/grant-application-level.yml +0 -44
  254. data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence-multi-1.yml +0 -44
  255. data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence-multi-2.yml +0 -44
  256. data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence-multi-3.yml +0 -44
  257. data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence-multi-4.yml +0 -44
  258. data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels-presence.yml +0 -44
  259. data/fixtures/vcr_cassettes/integration/grant/grant-multiple-channels.yml +0 -45
  260. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-invalid-200-async.yml +0 -44
  261. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-invalid-200-sync.yml +0 -44
  262. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-invalid-non-200-async.yml +0 -44
  263. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-invalid-non-200-sync.yml +0 -44
  264. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-valid-200-async.yml +0 -45
  265. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-valid-200-sync.yml +0 -45
  266. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-valid-non-200-async.yml +0 -45
  267. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-block-valid-non-200-sync.yml +0 -45
  268. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-invalid-200-async.yml +0 -44
  269. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-invalid-200-sync.yml +0 -44
  270. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-invalid-non-200-async.yml +0 -44
  271. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-invalid-non-200-sync.yml +0 -44
  272. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-valid-200-async.yml +0 -45
  273. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-valid-200-sync.yml +0 -45
  274. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-valid-non-200-async.yml +0 -45
  275. data/fixtures/vcr_cassettes/integration/grant/grant-nonssl-parameter-valid-non-200-sync.yml +0 -45
  276. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-invalid-200-async.yml +0 -44
  277. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-invalid-200-sync.yml +0 -44
  278. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-invalid-non-200-async.yml +0 -44
  279. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-invalid-non-200-sync.yml +0 -44
  280. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-valid-200-async.yml +0 -45
  281. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-valid-200-sync.yml +0 -45
  282. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-valid-non-200-async.yml +0 -45
  283. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-block-valid-non-200-sync.yml +0 -45
  284. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-invalid-200-async.yml +0 -44
  285. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-invalid-200-sync.yml +0 -44
  286. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-invalid-non-200-async.yml +0 -44
  287. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-invalid-non-200-sync.yml +0 -44
  288. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-valid-200-async.yml +0 -45
  289. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-valid-200-sync.yml +0 -45
  290. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-valid-non-200-async.yml +0 -45
  291. data/fixtures/vcr_cassettes/integration/grant/grant-ssl-parameter-valid-non-200-sync.yml +0 -45
  292. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-block-invalid-200-async.yml +0 -48
  293. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-block-invalid-200-sync.yml +0 -48
  294. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-block-invalid-non-200-async.yml +0 -48
  295. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-block-invalid-non-200-sync.yml +0 -48
  296. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-block-valid-200-async.yml +0 -48
  297. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-block-valid-200-sync.yml +0 -48
  298. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-block-valid-non-200-async.yml +0 -48
  299. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-block-valid-non-200-sync.yml +0 -48
  300. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-parameter-invalid-200-async.yml +0 -48
  301. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-parameter-invalid-non-200-async.yml +0 -48
  302. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-parameter-invalid-non-200-sync.yml +0 -48
  303. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-parameter-valid-200-async.yml +0 -48
  304. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-parameter-valid-200-sync.yml +0 -48
  305. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-parameter-valid-non-200-async.yml +0 -48
  306. data/fixtures/vcr_cassettes/integration/here_now/here_now-nonssl-parameter-valid-non-200-sync.yml +0 -48
  307. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-block-invalid-200-sync.yml +0 -48
  308. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-block-invalid-non-200-async.yml +0 -48
  309. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-block-invalid-non-200-sync.yml +0 -48
  310. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-block-valid-200-async.yml +0 -48
  311. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-block-valid-200-sync.yml +0 -48
  312. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-block-valid-non-200-async.yml +0 -48
  313. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-block-valid-non-200-sync.yml +0 -48
  314. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-parameter-invalid-200-sync.yml +0 -48
  315. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-parameter-invalid-non-200-async.yml +0 -48
  316. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-parameter-invalid-non-200-sync.yml +0 -48
  317. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-parameter-valid-200-async.yml +0 -48
  318. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-parameter-valid-200-sync.yml +0 -48
  319. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-parameter-valid-non-200-async.yml +0 -48
  320. data/fixtures/vcr_cassettes/integration/here_now/here_now-ssl-parameter-valid-non-200-sync.yml +0 -48
  321. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-nonssl-block-invalid-200-sync.yml +0 -49
  322. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-nonssl-block-invalid-non-200-sync.yml +0 -49
  323. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-nonssl-block-valid-200-sync.yml +0 -49
  324. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-nonssl-block-valid-non-200-sync.yml +0 -49
  325. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-nonssl-parameter-invalid-200-sync.yml +0 -49
  326. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-nonssl-parameter-invalid-non-200-sync.yml +0 -49
  327. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-nonssl-parameter-valid-200-sync.yml +0 -49
  328. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-nonssl-parameter-valid-non-200-sync.yml +0 -49
  329. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-ssl-block-invalid-200-sync.yml +0 -49
  330. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-ssl-block-invalid-non-200-sync.yml +0 -49
  331. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-ssl-block-valid-200-async.yml +0 -49
  332. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-ssl-block-valid-200-sync.yml +0 -49
  333. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-ssl-block-valid-non-200-sync.yml +0 -49
  334. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-ssl-parameter-invalid-200-sync.yml +0 -49
  335. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-ssl-parameter-invalid-non-200-sync.yml +0 -49
  336. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-ssl-parameter-valid-200-sync.yml +0 -49
  337. data/fixtures/vcr_cassettes/integration/here_now/here_now_global-ssl-parameter-valid-non-200-sync.yml +0 -49
  338. data/fixtures/vcr_cassettes/integration/history/history-nonssl-block-invalid-200-async.yml +0 -48
  339. data/fixtures/vcr_cassettes/integration/history/history-nonssl-block-invalid-200-sync.yml +0 -48
  340. data/fixtures/vcr_cassettes/integration/history/history-nonssl-block-invalid-non-200-async.yml +0 -48
  341. data/fixtures/vcr_cassettes/integration/history/history-nonssl-block-invalid-non-200-sync.yml +0 -48
  342. data/fixtures/vcr_cassettes/integration/history/history-nonssl-block-valid-200-async.yml +0 -48
  343. data/fixtures/vcr_cassettes/integration/history/history-nonssl-block-valid-200-sync.yml +0 -48
  344. data/fixtures/vcr_cassettes/integration/history/history-nonssl-block-valid-non-200-async.yml +0 -48
  345. data/fixtures/vcr_cassettes/integration/history/history-nonssl-block-valid-non-200-sync.yml +0 -48
  346. data/fixtures/vcr_cassettes/integration/history/history-nonssl-parameter-invalid-200-async.yml +0 -48
  347. data/fixtures/vcr_cassettes/integration/history/history-nonssl-parameter-invalid-200-sync.yml +0 -48
  348. data/fixtures/vcr_cassettes/integration/history/history-nonssl-parameter-invalid-non-200-async.yml +0 -48
  349. data/fixtures/vcr_cassettes/integration/history/history-nonssl-parameter-invalid-non-200-sync.yml +0 -48
  350. data/fixtures/vcr_cassettes/integration/history/history-nonssl-parameter-valid-200-async.yml +0 -48
  351. data/fixtures/vcr_cassettes/integration/history/history-nonssl-parameter-valid-200-sync.yml +0 -48
  352. data/fixtures/vcr_cassettes/integration/history/history-nonssl-parameter-valid-non-200-async.yml +0 -48
  353. data/fixtures/vcr_cassettes/integration/history/history-nonssl-parameter-valid-non-200-sync.yml +0 -48
  354. data/fixtures/vcr_cassettes/integration/history/history-ssl-block-invalid-200-async.yml +0 -48
  355. data/fixtures/vcr_cassettes/integration/history/history-ssl-block-invalid-200-sync.yml +0 -48
  356. data/fixtures/vcr_cassettes/integration/history/history-ssl-block-invalid-non-200-async.yml +0 -48
  357. data/fixtures/vcr_cassettes/integration/history/history-ssl-block-invalid-non-200-sync.yml +0 -48
  358. data/fixtures/vcr_cassettes/integration/history/history-ssl-block-valid-200-async.yml +0 -48
  359. data/fixtures/vcr_cassettes/integration/history/history-ssl-block-valid-200-sync.yml +0 -48
  360. data/fixtures/vcr_cassettes/integration/history/history-ssl-block-valid-non-200-async.yml +0 -48
  361. data/fixtures/vcr_cassettes/integration/history/history-ssl-block-valid-non-200-sync.yml +0 -48
  362. data/fixtures/vcr_cassettes/integration/history/history-ssl-parameter-invalid-200-async.yml +0 -48
  363. data/fixtures/vcr_cassettes/integration/history/history-ssl-parameter-invalid-200-sync.yml +0 -48
  364. data/fixtures/vcr_cassettes/integration/history/history-ssl-parameter-invalid-non-200-async.yml +0 -48
  365. data/fixtures/vcr_cassettes/integration/history/history-ssl-parameter-invalid-non-200-sync.yml +0 -48
  366. data/fixtures/vcr_cassettes/integration/history/history-ssl-parameter-valid-200-async.yml +0 -48
  367. data/fixtures/vcr_cassettes/integration/history/history-ssl-parameter-valid-200-sync.yml +0 -48
  368. data/fixtures/vcr_cassettes/integration/history/history-ssl-parameter-valid-non-200-async.yml +0 -48
  369. data/fixtures/vcr_cassettes/integration/history/history-ssl-parameter-valid-non-200-sync.yml +0 -48
  370. data/fixtures/vcr_cassettes/integration/history/include_token.yml +0 -49
  371. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-block-invalid-200-async.yml +0 -48
  372. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-block-invalid-200-sync.yml +0 -48
  373. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-block-invalid-non-200-async.yml +0 -48
  374. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-block-invalid-non-200-sync.yml +0 -48
  375. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-block-valid-200-async.yml +0 -48
  376. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-block-valid-200-sync.yml +0 -48
  377. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-block-valid-non-200-async.yml +0 -48
  378. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-block-valid-non-200-sync.yml +0 -48
  379. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-parameter-invalid-200-async.yml +0 -48
  380. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-parameter-invalid-200-sync.yml +0 -48
  381. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-parameter-invalid-non-200-async.yml +0 -48
  382. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-parameter-invalid-non-200-sync.yml +0 -48
  383. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-parameter-valid-200-async.yml +0 -48
  384. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-parameter-valid-200-sync.yml +0 -48
  385. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-parameter-valid-non-200-async.yml +0 -48
  386. data/fixtures/vcr_cassettes/integration/leave/leave-nonssl-parameter-valid-non-200-sync.yml +0 -48
  387. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-block-invalid-200-async.yml +0 -48
  388. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-block-invalid-200-sync.yml +0 -48
  389. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-block-invalid-non-200-async.yml +0 -48
  390. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-block-invalid-non-200-sync.yml +0 -48
  391. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-block-valid-200-async.yml +0 -48
  392. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-block-valid-200-sync.yml +0 -48
  393. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-block-valid-non-200-async.yml +0 -48
  394. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-block-valid-non-200-sync.yml +0 -48
  395. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-parameter-invalid-200-async.yml +0 -48
  396. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-parameter-invalid-200-sync.yml +0 -48
  397. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-parameter-invalid-non-200-async.yml +0 -48
  398. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-parameter-invalid-non-200-sync.yml +0 -48
  399. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-parameter-valid-200-async.yml +0 -48
  400. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-parameter-valid-200-sync.yml +0 -48
  401. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-parameter-valid-non-200-async.yml +0 -48
  402. data/fixtures/vcr_cassettes/integration/leave/leave-ssl-parameter-valid-non-200-sync.yml +0 -48
  403. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-block-invalid-200-async.yml +0 -85
  404. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-block-invalid-200-sync.yml +0 -85
  405. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-block-invalid-non-200-async.yml +0 -85
  406. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-block-invalid-non-200-sync.yml +0 -85
  407. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-block-valid-200-async.yml +0 -87
  408. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-block-valid-200-sync.yml +0 -87
  409. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-block-valid-non-200-async.yml +0 -87
  410. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-block-valid-non-200-sync.yml +0 -87
  411. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-parameter-invalid-200-async.yml +0 -85
  412. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-parameter-invalid-200-sync.yml +0 -85
  413. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-parameter-invalid-non-200-async.yml +0 -85
  414. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-parameter-invalid-non-200-sync.yml +0 -85
  415. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-parameter-valid-200-async.yml +0 -87
  416. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-parameter-valid-200-sync.yml +0 -87
  417. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-parameter-valid-non-200-async.yml +0 -87
  418. data/fixtures/vcr_cassettes/integration/presence/presence-nonssl-parameter-valid-non-200-sync.yml +0 -87
  419. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-block-invalid-200-sync.yml +0 -85
  420. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-block-invalid-non-200-async.yml +0 -85
  421. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-block-invalid-non-200-sync.yml +0 -85
  422. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-block-valid-200-async.yml +0 -87
  423. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-block-valid-200-sync-new.yml +0 -81
  424. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-block-valid-200-sync.yml +0 -85
  425. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-block-valid-non-200-async.yml +0 -87
  426. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-block-valid-non-200-sync.yml +0 -87
  427. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-parameter-invalid-200-async.yml +0 -85
  428. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-parameter-invalid-200-sync.yml +0 -85
  429. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-parameter-invalid-non-200-async.yml +0 -85
  430. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-parameter-invalid-non-200-sync.yml +0 -85
  431. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-parameter-valid-200-async.yml +0 -87
  432. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-parameter-valid-200-sync.yml +0 -87
  433. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-parameter-valid-non-200-async.yml +0 -87
  434. data/fixtures/vcr_cassettes/integration/presence/presence-ssl-parameter-valid-non-200-sync.yml +0 -87
  435. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-block-invalid-200-async.yml +0 -86
  436. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-block-invalid-200-sync.yml +0 -86
  437. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-block-invalid-non-200-async.yml +0 -86
  438. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-block-invalid-non-200-sync.yml +0 -86
  439. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-block-valid-200-async.yml +0 -86
  440. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-block-valid-200-sync.yml +0 -86
  441. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-block-valid-non-200-async.yml +0 -86
  442. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-block-valid-non-200-sync.yml +0 -86
  443. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-parameter-invalid-200-async.yml +0 -86
  444. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-parameter-invalid-200-sync.yml +0 -86
  445. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-parameter-invalid-non-200-async.yml +0 -86
  446. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-parameter-invalid-non-200-sync.yml +0 -86
  447. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-parameter-valid-200-async.yml +0 -86
  448. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-parameter-valid-200-sync.yml +0 -86
  449. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-parameter-valid-non-200-async.yml +0 -86
  450. data/fixtures/vcr_cassettes/integration/presence/v3-presence-nonssl-parameter-valid-non-200-sync.yml +0 -86
  451. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-block-invalid-200-async.yml +0 -86
  452. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-block-invalid-200-sync.yml +0 -86
  453. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-block-invalid-non-200-async.yml +0 -86
  454. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-block-invalid-non-200-sync.yml +0 -86
  455. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-block-valid-200-async.yml +0 -86
  456. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-block-valid-200-sync.yml +0 -86
  457. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-block-valid-non-200-async.yml +0 -86
  458. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-block-valid-non-200-sync.yml +0 -86
  459. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-parameter-invalid-200-async.yml +0 -86
  460. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-parameter-invalid-200-sync.yml +0 -86
  461. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-parameter-invalid-non-200-async.yml +0 -86
  462. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-parameter-invalid-non-200-sync.yml +0 -86
  463. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-parameter-valid-200-async.yml +0 -86
  464. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-parameter-valid-200-sync.yml +0 -86
  465. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-parameter-valid-non-200-async.yml +0 -86
  466. data/fixtures/vcr_cassettes/integration/presence/v3-presence-ssl-parameter-valid-non-200-sync.yml +0 -86
  467. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-array-of-hashes.yml +0 -42
  468. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-http-200-invalid.yml +0 -42
  469. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-http-200-valid.yml +0 -42
  470. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-http-auth_key-200-invalid.yml +0 -42
  471. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-http-auth_key-200-valid.yml +0 -42
  472. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-http-auth_key-non200-invalid.yml +0 -42
  473. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-http-auth_key-non200-valid.yml +0 -42
  474. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-http-non200-invalid.yml +0 -42
  475. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-http-non200-valid.yml +0 -42
  476. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-https-200-invalid.yml +0 -42
  477. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-https-200-valid.yml +0 -42
  478. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-https-auth_key-200-invalid.yml +0 -42
  479. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-https-auth_key-200-valid.yml +0 -42
  480. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-https-auth_key-non200-invalid.yml +0 -42
  481. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-https-auth_key-non200-valid.yml +0 -42
  482. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-https-non200-invalid.yml +0 -42
  483. data/fixtures/vcr_cassettes/integration/publish/publish-encrypted-https-non200-valid.yml +0 -42
  484. data/fixtures/vcr_cassettes/integration/publish/publish-http-200-invalid.yml +0 -42
  485. data/fixtures/vcr_cassettes/integration/publish/publish-http-200-valid.yml +0 -42
  486. data/fixtures/vcr_cassettes/integration/publish/publish-http-auth_key-200-invalid.yml +0 -42
  487. data/fixtures/vcr_cassettes/integration/publish/publish-http-auth_key-200-valid.yml +0 -42
  488. data/fixtures/vcr_cassettes/integration/publish/publish-http-auth_key-non200-invalid.yml +0 -42
  489. data/fixtures/vcr_cassettes/integration/publish/publish-http-auth_key-non200-valid.yml +0 -42
  490. data/fixtures/vcr_cassettes/integration/publish/publish-http-non200-invalid.yml +0 -42
  491. data/fixtures/vcr_cassettes/integration/publish/publish-http-non200-valid.yml +0 -42
  492. data/fixtures/vcr_cassettes/integration/publish/publish-https-200-invalid.yml +0 -42
  493. data/fixtures/vcr_cassettes/integration/publish/publish-https-200-valid.yml +0 -42
  494. data/fixtures/vcr_cassettes/integration/publish/publish-https-auth_key-200-invalid.yml +0 -42
  495. data/fixtures/vcr_cassettes/integration/publish/publish-https-auth_key-200-valid.yml +0 -42
  496. data/fixtures/vcr_cassettes/integration/publish/publish-https-auth_key-non200-invalid.yml +0 -42
  497. data/fixtures/vcr_cassettes/integration/publish/publish-https-auth_key-non200-valid.yml +0 -42
  498. data/fixtures/vcr_cassettes/integration/publish/publish-https-non200-invalid.yml +0 -42
  499. data/fixtures/vcr_cassettes/integration/publish/publish-https-non200-valid.yml +0 -42
  500. data/fixtures/vcr_cassettes/integration/publish/publish-plain-array-of-hashes.yml +0 -42
  501. data/fixtures/vcr_cassettes/integration/revoke/revoke-application-level.yml +0 -44
  502. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-block-invalid-200-async.yml +0 -44
  503. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-block-invalid-200-sync.yml +0 -44
  504. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-block-invalid-non-200-async.yml +0 -44
  505. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-block-invalid-non-200-sync.yml +0 -44
  506. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-block-valid-200-async.yml +0 -45
  507. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-block-valid-200-sync.yml +0 -45
  508. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-block-valid-non-200-async.yml +0 -45
  509. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-block-valid-non-200-sync.yml +0 -45
  510. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-parameter-invalid-200-async.yml +0 -44
  511. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-parameter-invalid-200-sync.yml +0 -44
  512. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-parameter-invalid-non-200-async.yml +0 -44
  513. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-parameter-invalid-non-200-sync.yml +0 -44
  514. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-parameter-valid-200-async.yml +0 -45
  515. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-parameter-valid-200-sync.yml +0 -45
  516. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-parameter-valid-non-200-async.yml +0 -45
  517. data/fixtures/vcr_cassettes/integration/revoke/revoke-nonssl-parameter-valid-non-200-sync.yml +0 -45
  518. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-block-invalid-200-async.yml +0 -44
  519. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-block-invalid-200-sync.yml +0 -44
  520. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-block-invalid-non-200-async.yml +0 -44
  521. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-block-invalid-non-200-sync.yml +0 -44
  522. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-block-valid-200-async.yml +0 -45
  523. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-block-valid-200-sync.yml +0 -45
  524. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-block-valid-non-200-async.yml +0 -45
  525. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-block-valid-non-200-sync.yml +0 -45
  526. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-parameter-invalid-200-async.yml +0 -44
  527. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-parameter-invalid-200-sync.yml +0 -44
  528. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-parameter-invalid-non-200-async.yml +0 -44
  529. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-parameter-invalid-non-200-sync.yml +0 -44
  530. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-parameter-valid-200-async.yml +0 -45
  531. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-parameter-valid-200-sync.yml +0 -45
  532. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-parameter-valid-non-200-async.yml +0 -45
  533. data/fixtures/vcr_cassettes/integration/revoke/revoke-ssl-parameter-valid-non-200-sync.yml +0 -45
  534. data/fixtures/vcr_cassettes/integration/set_state/11.yml +0 -84
  535. data/fixtures/vcr_cassettes/integration/set_state/12.yml +0 -121
  536. data/fixtures/vcr_cassettes/integration/set_state/13.yml +0 -128
  537. data/fixtures/vcr_cassettes/integration/set_state/2.yml +0 -91
  538. data/fixtures/vcr_cassettes/integration/set_state/3.yml +0 -84
  539. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-block-invalid-200-async.yml +0 -85
  540. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-block-invalid-200-sync.yml +0 -85
  541. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-block-invalid-non-200-async.yml +0 -85
  542. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-block-invalid-non-200-sync.yml +0 -85
  543. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-block-valid-200-sync.yml +0 -85
  544. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-block-valid-non-200-async.yml +0 -85
  545. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-block-valid-non-200-sync.yml +0 -85
  546. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-parameter-invalid-200-async.yml +0 -85
  547. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-parameter-invalid-200-sync.yml +0 -85
  548. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-parameter-invalid-non-200-async.yml +0 -85
  549. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-parameter-invalid-non-200-sync.yml +0 -85
  550. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-parameter-valid-200-async.yml +0 -85
  551. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-parameter-valid-200-sync.yml +0 -85
  552. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-parameter-valid-non-200-async.yml +0 -85
  553. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-nonssl-parameter-valid-non-200-sync.yml +0 -85
  554. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-block-invalid-200-async.yml +0 -85
  555. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-block-invalid-200-sync.yml +0 -85
  556. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-block-invalid-non-200-async.yml +0 -85
  557. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-block-invalid-non-200-sync.yml +0 -85
  558. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-block-valid-200-async.yml +0 -85
  559. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-block-valid-200-sync.yml +0 -85
  560. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-block-valid-non-200-async.yml +0 -85
  561. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-block-valid-non-200-sync.yml +0 -85
  562. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-parameter-invalid-200-async.yml +0 -85
  563. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-parameter-invalid-200-sync.yml +0 -85
  564. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-parameter-invalid-non-200-async.yml +0 -85
  565. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-parameter-invalid-non-200-sync.yml +0 -85
  566. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-parameter-valid-200-async.yml +0 -85
  567. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-parameter-valid-200-sync.yml +0 -85
  568. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-parameter-valid-non-200-async.yml +0 -85
  569. data/fixtures/vcr_cassettes/integration/subscribe/subscribe-ssl-parameter-valid-non-200-sync.yml +0 -85
  570. data/fixtures/vcr_cassettes/integration/subscribe/subscription-event-invalid-json.yml +0 -454
  571. data/fixtures/vcr_cassettes/integration/subscribe/subscription-event-non200.yml +0 -208
  572. data/fixtures/vcr_cassettes/integration/time/time-nonssl-block-invalid-200-async.yml +0 -44
  573. data/fixtures/vcr_cassettes/integration/time/time-nonssl-block-invalid-200-sync.yml +0 -44
  574. data/fixtures/vcr_cassettes/integration/time/time-nonssl-block-invalid-non-200-async.yml +0 -44
  575. data/fixtures/vcr_cassettes/integration/time/time-nonssl-block-invalid-non-200-sync.yml +0 -44
  576. data/fixtures/vcr_cassettes/integration/time/time-nonssl-block-valid-200-async.yml +0 -44
  577. data/fixtures/vcr_cassettes/integration/time/time-nonssl-block-valid-200-sync.yml +0 -44
  578. data/fixtures/vcr_cassettes/integration/time/time-nonssl-block-valid-non-200-async.yml +0 -44
  579. data/fixtures/vcr_cassettes/integration/time/time-nonssl-block-valid-non-200-sync.yml +0 -44
  580. data/fixtures/vcr_cassettes/integration/time/time-nonssl-parameter-invalid-200-async.yml +0 -44
  581. data/fixtures/vcr_cassettes/integration/time/time-nonssl-parameter-invalid-non-200-async.yml +0 -44
  582. data/fixtures/vcr_cassettes/integration/time/time-nonssl-parameter-invalid-non-200-sync.yml +0 -44
  583. data/fixtures/vcr_cassettes/integration/time/time-nonssl-parameter-valid-200-async.yml +0 -44
  584. data/fixtures/vcr_cassettes/integration/time/time-nonssl-parameter-valid-200-sync.yml +0 -44
  585. data/fixtures/vcr_cassettes/integration/time/time-nonssl-parameter-valid-non-200-async.yml +0 -44
  586. data/fixtures/vcr_cassettes/integration/time/time-nonssl-parameter-valid-non-200-sync.yml +0 -44
  587. data/fixtures/vcr_cassettes/integration/time/time-ssl-block-invalid-200-async.yml +0 -44
  588. data/fixtures/vcr_cassettes/integration/time/time-ssl-block-invalid-200-sync.yml +0 -44
  589. data/fixtures/vcr_cassettes/integration/time/time-ssl-block-invalid-non-200-async.yml +0 -44
  590. data/fixtures/vcr_cassettes/integration/time/time-ssl-block-invalid-non-200-sync.yml +0 -44
  591. data/fixtures/vcr_cassettes/integration/time/time-ssl-block-valid-200-async.yml +0 -44
  592. data/fixtures/vcr_cassettes/integration/time/time-ssl-block-valid-200-sync.yml +0 -44
  593. data/fixtures/vcr_cassettes/integration/time/time-ssl-block-valid-non-200-async.yml +0 -44
  594. data/fixtures/vcr_cassettes/integration/time/time-ssl-block-valid-non-200-sync.yml +0 -44
  595. data/fixtures/vcr_cassettes/integration/time/time-ssl-parameter-invalid-200-async.yml +0 -44
  596. data/fixtures/vcr_cassettes/integration/time/time-ssl-parameter-invalid-200-sync.yml +0 -44
  597. data/fixtures/vcr_cassettes/integration/time/time-ssl-parameter-invalid-non-200-async.yml +0 -44
  598. data/fixtures/vcr_cassettes/integration/time/time-ssl-parameter-invalid-non-200-sync.yml +0 -44
  599. data/fixtures/vcr_cassettes/integration/time/time-ssl-parameter-valid-200-async.yml +0 -44
  600. data/fixtures/vcr_cassettes/integration/time/time-ssl-parameter-valid-200-sync.yml +0 -44
  601. data/fixtures/vcr_cassettes/integration/time/time-ssl-parameter-valid-non-200-async.yml +0 -44
  602. data/fixtures/vcr_cassettes/integration/time/time-ssl-parameter-valid-non-200-sync.yml +0 -44
  603. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-block-invalid-200-async.yml +0 -49
  604. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-block-invalid-200-sync.yml +0 -49
  605. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-block-invalid-non-200-async.yml +0 -49
  606. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-block-invalid-non-200-sync.yml +0 -49
  607. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-block-valid-200-async.yml +0 -49
  608. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-block-valid-200-sync.yml +0 -49
  609. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-block-valid-non-200-async.yml +0 -49
  610. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-block-valid-non-200-sync.yml +0 -49
  611. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-parameter-invalid-200-async.yml +0 -49
  612. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-parameter-invalid-200-sync.yml +0 -49
  613. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-parameter-invalid-non-200-async.yml +0 -49
  614. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-parameter-invalid-non-200-sync.yml +0 -49
  615. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-parameter-valid-200-async.yml +0 -49
  616. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-parameter-valid-200-sync.yml +0 -49
  617. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-parameter-valid-non-200-async.yml +0 -49
  618. data/fixtures/vcr_cassettes/integration/where_now/where_now-ssl-parameter-valid-non-200-sync.yml +0 -49
  619. data/fixtures/vcr_cassettes/publish/auth_key-no-secret_key.yml +0 -44
  620. data/fixtures/vcr_cassettes/publish/auth_key.yml +0 -44
  621. data/fixtures/vcr_cassettes/publish/basic-ssl.yml +0 -44
  622. data/fixtures/vcr_cassettes/publish/basic.yml +0 -44
  623. data/fixtures/vcr_cassettes/publish/cipher_key.yml +0 -44
  624. data/fixtures/vcr_cassettes/test_examples/1000000.yml +0 -46
  625. data/fixtures/vcr_cassettes/test_examples/1000001.yml +0 -46
  626. data/fixtures/vcr_cassettes/test_examples/1000002.yml +0 -46
  627. data/fixtures/vcr_cassettes/test_examples/1000003.yml +0 -46
  628. data/fixtures/vcr_cassettes/test_examples/1000004.yml +0 -46
  629. data/fixtures/vcr_cassettes/test_examples/1000005.yml +0 -46
  630. data/fixtures/vcr_cassettes/test_examples/1000006.yml +0 -46
  631. data/fixtures/vcr_cassettes/test_examples/1000007.yml +0 -46
  632. data/fixtures/vcr_cassettes/test_examples/1000008.yml +0 -46
  633. data/fixtures/vcr_cassettes/test_examples/1000009.yml +0 -46
  634. data/fixtures/vcr_cassettes/test_examples/1000010.yml +0 -46
  635. data/fixtures/vcr_cassettes/test_examples/1000011.yml +0 -46
  636. data/fixtures/vcr_cassettes/test_examples/1000012.yml +0 -46
  637. data/fixtures/vcr_cassettes/test_examples/1000013.yml +0 -46
  638. data/fixtures/vcr_cassettes/test_examples/1000014.yml +0 -46
  639. data/fixtures/vcr_cassettes/test_examples/1000015.yml +0 -46
  640. data/fixtures/vcr_cassettes/test_examples/1000016.yml +0 -46
  641. data/fixtures/vcr_cassettes/test_examples/1000017.yml +0 -46
  642. data/fixtures/vcr_cassettes/test_examples/1000018.yml +0 -46
  643. data/fixtures/vcr_cassettes/test_examples/1000019.yml +0 -46
  644. data/fixtures/vcr_cassettes/test_examples/1000020.yml +0 -46
  645. data/fixtures/vcr_cassettes/test_examples/1000021.yml +0 -46
  646. data/fixtures/vcr_cassettes/test_examples/1000022.yml +0 -46
  647. data/fixtures/vcr_cassettes/test_examples/1000023.yml +0 -46
  648. data/fixtures/vcr_cassettes/test_examples/1000024.yml +0 -51
  649. data/fixtures/vcr_cassettes/test_examples/1000025.yml +0 -51
  650. data/fixtures/vcr_cassettes/test_examples/1000026.yml +0 -51
  651. data/fixtures/vcr_cassettes/test_examples/1000027.yml +0 -51
  652. data/fixtures/vcr_cassettes/test_examples/1000028.yml +0 -51
  653. data/fixtures/vcr_cassettes/test_examples/1000029.yml +0 -51
  654. data/fixtures/vcr_cassettes/test_examples/1000030.yml +0 -51
  655. data/fixtures/vcr_cassettes/test_examples/1000031.yml +0 -51
  656. data/fixtures/vcr_cassettes/test_examples/1000032.yml +0 -51
  657. data/fixtures/vcr_cassettes/test_examples/1000033.yml +0 -51
  658. data/fixtures/vcr_cassettes/test_examples/1000034.yml +0 -51
  659. data/fixtures/vcr_cassettes/test_examples/1000035.yml +0 -51
  660. data/fixtures/vcr_cassettes/test_examples/1000036.yml +0 -51
  661. data/fixtures/vcr_cassettes/test_examples/1000037.yml +0 -51
  662. data/fixtures/vcr_cassettes/test_examples/1000038.yml +0 -51
  663. data/fixtures/vcr_cassettes/test_examples/1000039.yml +0 -51
  664. data/fixtures/vcr_cassettes/test_examples/1000040.yml +0 -51
  665. data/fixtures/vcr_cassettes/test_examples/1000041.yml +0 -51
  666. data/fixtures/vcr_cassettes/test_examples/1000042.yml +0 -51
  667. data/fixtures/vcr_cassettes/test_examples/1000043.yml +0 -51
  668. data/fixtures/vcr_cassettes/test_examples/1000044.yml +0 -51
  669. data/fixtures/vcr_cassettes/test_examples/1000045.yml +0 -51
  670. data/fixtures/vcr_cassettes/test_examples/1000046.yml +0 -51
  671. data/fixtures/vcr_cassettes/test_examples/1000047.yml +0 -51
  672. data/fixtures/vcr_cassettes/test_examples/1000048.yml +0 -51
  673. data/fixtures/vcr_cassettes/test_examples/1000049.yml +0 -51
  674. data/fixtures/vcr_cassettes/test_examples/1000050.yml +0 -51
  675. data/fixtures/vcr_cassettes/test_examples/1000051.yml +0 -51
  676. data/fixtures/vcr_cassettes/test_examples/1000052.yml +0 -51
  677. data/fixtures/vcr_cassettes/test_examples/1000053.yml +0 -51
  678. data/fixtures/vcr_cassettes/test_examples/1000054.yml +0 -51
  679. data/fixtures/vcr_cassettes/test_examples/1000055.yml +0 -51
  680. data/fixtures/vcr_cassettes/test_examples/1000056.yml +0 -51
  681. data/fixtures/vcr_cassettes/test_examples/1000057.yml +0 -51
  682. data/fixtures/vcr_cassettes/test_examples/1000058.yml +0 -51
  683. data/fixtures/vcr_cassettes/test_examples/1000059.yml +0 -51
  684. data/fixtures/vcr_cassettes/test_examples/1000060.yml +0 -51
  685. data/fixtures/vcr_cassettes/test_examples/1000061.yml +0 -51
  686. data/fixtures/vcr_cassettes/test_examples/1000062.yml +0 -51
  687. data/fixtures/vcr_cassettes/test_examples/1000063.yml +0 -51
  688. data/fixtures/vcr_cassettes/test_examples/1000064.yml +0 -51
  689. data/fixtures/vcr_cassettes/test_examples/1000065.yml +0 -51
  690. data/fixtures/vcr_cassettes/test_examples/1000066.yml +0 -51
  691. data/fixtures/vcr_cassettes/test_examples/1000067.yml +0 -51
  692. data/fixtures/vcr_cassettes/test_examples/1000068.yml +0 -51
  693. data/fixtures/vcr_cassettes/test_examples/1000069.yml +0 -51
  694. data/fixtures/vcr_cassettes/test_examples/1000070.yml +0 -51
  695. data/fixtures/vcr_cassettes/test_examples/1000071.yml +0 -51
  696. data/fixtures/vcr_cassettes/test_examples/1000072.yml +0 -51
  697. data/fixtures/vcr_cassettes/test_examples/1000073.yml +0 -51
  698. data/fixtures/vcr_cassettes/test_examples/1000074.yml +0 -51
  699. data/fixtures/vcr_cassettes/test_examples/1000075.yml +0 -51
  700. data/fixtures/vcr_cassettes/test_examples/1000076.yml +0 -51
  701. data/fixtures/vcr_cassettes/test_examples/1000077.yml +0 -51
  702. data/fixtures/vcr_cassettes/test_examples/1000078.yml +0 -51
  703. data/fixtures/vcr_cassettes/test_examples/1000079.yml +0 -51
  704. data/fixtures/vcr_cassettes/test_examples/1000080.yml +0 -51
  705. data/fixtures/vcr_cassettes/test_examples/1000081.yml +0 -51
  706. data/fixtures/vcr_cassettes/test_examples/1000082.yml +0 -51
  707. data/fixtures/vcr_cassettes/test_examples/1000083.yml +0 -51
  708. data/fixtures/vcr_cassettes/test_examples/1000084.yml +0 -51
  709. data/fixtures/vcr_cassettes/test_examples/1000085.yml +0 -51
  710. data/fixtures/vcr_cassettes/test_examples/1000086.yml +0 -51
  711. data/fixtures/vcr_cassettes/test_examples/1000087.yml +0 -51
  712. data/fixtures/vcr_cassettes/test_examples/1000088.yml +0 -51
  713. data/fixtures/vcr_cassettes/test_examples/1000089.yml +0 -51
  714. data/fixtures/vcr_cassettes/test_examples/1000090.yml +0 -51
  715. data/fixtures/vcr_cassettes/test_examples/1000091.yml +0 -51
  716. data/fixtures/vcr_cassettes/test_examples/1000092.yml +0 -51
  717. data/fixtures/vcr_cassettes/test_examples/1000093.yml +0 -51
  718. data/fixtures/vcr_cassettes/test_examples/1000094.yml +0 -51
  719. data/fixtures/vcr_cassettes/test_examples/1000095.yml +0 -51
  720. data/fixtures/vcr_cassettes/test_examples/1000096.yml +0 -51
  721. data/fixtures/vcr_cassettes/test_examples/1000097.yml +0 -51
  722. data/fixtures/vcr_cassettes/test_examples/1000098.yml +0 -51
  723. data/fixtures/vcr_cassettes/test_examples/1000099.yml +0 -51
  724. data/fixtures/vcr_cassettes/test_examples/1000100.yml +0 -51
  725. data/fixtures/vcr_cassettes/test_examples/1000101.yml +0 -51
  726. data/fixtures/vcr_cassettes/test_examples/1000102.yml +0 -51
  727. data/fixtures/vcr_cassettes/test_examples/1000103.yml +0 -51
  728. data/fixtures/vcr_cassettes/test_examples/1000104.yml +0 -51
  729. data/fixtures/vcr_cassettes/test_examples/1000105.yml +0 -51
  730. data/fixtures/vcr_cassettes/test_examples/1000106.yml +0 -51
  731. data/fixtures/vcr_cassettes/test_examples/1000107.yml +0 -51
  732. data/fixtures/vcr_cassettes/test_examples/1000108.yml +0 -51
  733. data/fixtures/vcr_cassettes/test_examples/1000109.yml +0 -51
  734. data/fixtures/vcr_cassettes/test_examples/1000110.yml +0 -51
  735. data/fixtures/vcr_cassettes/test_examples/1000111.yml +0 -51
  736. data/fixtures/vcr_cassettes/test_examples/1000112.yml +0 -51
  737. data/fixtures/vcr_cassettes/test_examples/1000113.yml +0 -51
  738. data/fixtures/vcr_cassettes/test_examples/1000114.yml +0 -51
  739. data/fixtures/vcr_cassettes/test_examples/1000115.yml +0 -51
  740. data/fixtures/vcr_cassettes/test_examples/1000116.yml +0 -51
  741. data/fixtures/vcr_cassettes/test_examples/1000117.yml +0 -51
  742. data/fixtures/vcr_cassettes/test_examples/1000118.yml +0 -51
  743. data/fixtures/vcr_cassettes/test_examples/1000119.yml +0 -51
  744. data/fixtures/vcr_cassettes/test_examples/1000120.yml +0 -51
  745. data/fixtures/vcr_cassettes/test_examples/1000121.yml +0 -51
  746. data/fixtures/vcr_cassettes/test_examples/1000122.yml +0 -51
  747. data/fixtures/vcr_cassettes/test_examples/1000123.yml +0 -51
  748. data/fixtures/vcr_cassettes/test_examples/1000124.yml +0 -51
  749. data/fixtures/vcr_cassettes/test_examples/1000125.yml +0 -51
  750. data/fixtures/vcr_cassettes/test_examples/1000126.yml +0 -51
  751. data/fixtures/vcr_cassettes/test_examples/1000127.yml +0 -51
  752. data/fixtures/vcr_cassettes/test_examples/1000128.yml +0 -51
  753. data/fixtures/vcr_cassettes/test_examples/1000129.yml +0 -51
  754. data/fixtures/vcr_cassettes/test_examples/1000130.yml +0 -51
  755. data/fixtures/vcr_cassettes/test_examples/1000131.yml +0 -51
  756. data/fixtures/vcr_cassettes/test_examples/1000132.yml +0 -51
  757. data/fixtures/vcr_cassettes/test_examples/1000133.yml +0 -51
  758. data/fixtures/vcr_cassettes/test_examples/1000134.yml +0 -51
  759. data/fixtures/vcr_cassettes/test_examples/1000135.yml +0 -51
  760. data/fixtures/vcr_cassettes/test_examples/1000136.yml +0 -46
  761. data/fixtures/vcr_cassettes/test_examples/1000137.yml +0 -46
  762. data/fixtures/vcr_cassettes/test_examples/1000138.yml +0 -46
  763. data/fixtures/vcr_cassettes/test_examples/1000139.yml +0 -46
  764. data/fixtures/vcr_cassettes/test_examples/1000140.yml +0 -46
  765. data/fixtures/vcr_cassettes/test_examples/1000141.yml +0 -46
  766. data/fixtures/vcr_cassettes/test_examples/1000142.yml +0 -46
  767. data/fixtures/vcr_cassettes/test_examples/1000143.yml +0 -46
  768. data/fixtures/vcr_cassettes/test_examples/1000144.yml +0 -46
  769. data/fixtures/vcr_cassettes/test_examples/1000145.yml +0 -46
  770. data/fixtures/vcr_cassettes/test_examples/1000146.yml +0 -46
  771. data/fixtures/vcr_cassettes/test_examples/1000147.yml +0 -46
  772. data/fixtures/vcr_cassettes/test_examples/1000148.yml +0 -46
  773. data/fixtures/vcr_cassettes/test_examples/1000149.yml +0 -46
  774. data/fixtures/vcr_cassettes/test_examples/1000150.yml +0 -46
  775. data/fixtures/vcr_cassettes/test_examples/1000151.yml +0 -46
  776. data/fixtures/vcr_cassettes/test_examples/1000152.yml +0 -46
  777. data/fixtures/vcr_cassettes/test_examples/1000153.yml +0 -46
  778. data/fixtures/vcr_cassettes/test_examples/1000154.yml +0 -46
  779. data/fixtures/vcr_cassettes/test_examples/1000155.yml +0 -46
  780. data/fixtures/vcr_cassettes/test_examples/1000156.yml +0 -46
  781. data/fixtures/vcr_cassettes/test_examples/1000157.yml +0 -46
  782. data/fixtures/vcr_cassettes/test_examples/1000158.yml +0 -46
  783. data/fixtures/vcr_cassettes/test_examples/1000159.yml +0 -46
  784. data/fixtures/vcr_cassettes/test_examples/1000160.yml +0 -46
  785. data/fixtures/vcr_cassettes/test_examples/1000161.yml +0 -46
  786. data/fixtures/vcr_cassettes/test_examples/1000162.yml +0 -46
  787. data/fixtures/vcr_cassettes/test_examples/1000163.yml +0 -46
  788. data/fixtures/vcr_cassettes/test_examples/1000164.yml +0 -46
  789. data/fixtures/vcr_cassettes/test_examples/1000165.yml +0 -46
  790. data/fixtures/vcr_cassettes/test_examples/1000166.yml +0 -46
  791. data/fixtures/vcr_cassettes/test_examples/1000167.yml +0 -46
  792. data/fixtures/vcr_cassettes/test_examples/1000168.yml +0 -46
  793. data/fixtures/vcr_cassettes/test_examples/1000169.yml +0 -46
  794. data/fixtures/vcr_cassettes/test_examples/1000170.yml +0 -46
  795. data/fixtures/vcr_cassettes/test_examples/1000171.yml +0 -46
  796. data/fixtures/vcr_cassettes/test_examples/1000172.yml +0 -46
  797. data/fixtures/vcr_cassettes/test_examples/1000173.yml +0 -46
  798. data/fixtures/vcr_cassettes/test_examples/1000174.yml +0 -46
  799. data/fixtures/vcr_cassettes/test_examples/1000175.yml +0 -46
  800. data/fixtures/vcr_cassettes/test_examples/1000176.yml +0 -46
  801. data/fixtures/vcr_cassettes/test_examples/1000177.yml +0 -46
  802. data/fixtures/vcr_cassettes/test_examples/1000178.yml +0 -46
  803. data/fixtures/vcr_cassettes/test_examples/1000179.yml +0 -46
  804. data/fixtures/vcr_cassettes/test_examples/1000180.yml +0 -46
  805. data/fixtures/vcr_cassettes/test_examples/1000181.yml +0 -46
  806. data/fixtures/vcr_cassettes/test_examples/1000182.yml +0 -46
  807. data/fixtures/vcr_cassettes/test_examples/1000183.yml +0 -46
  808. data/fixtures/vcr_cassettes/test_examples/1000184.yml +0 -46
  809. data/fixtures/vcr_cassettes/test_examples/1000185.yml +0 -46
  810. data/fixtures/vcr_cassettes/test_examples/1000186.yml +0 -46
  811. data/fixtures/vcr_cassettes/test_examples/1000187.yml +0 -46
  812. data/fixtures/vcr_cassettes/test_examples/1000188.yml +0 -46
  813. data/fixtures/vcr_cassettes/test_examples/1000189.yml +0 -46
  814. data/fixtures/vcr_cassettes/test_examples/1000190.yml +0 -46
  815. data/fixtures/vcr_cassettes/test_examples/1000191.yml +0 -46
  816. data/fixtures/vcr_cassettes/test_examples/1000192.yml +0 -46
  817. data/fixtures/vcr_cassettes/test_examples/1000193.yml +0 -46
  818. data/fixtures/vcr_cassettes/test_examples/1000194.yml +0 -46
  819. data/fixtures/vcr_cassettes/test_examples/1000195.yml +0 -46
  820. data/fixtures/vcr_cassettes/test_examples/1000196.yml +0 -46
  821. data/fixtures/vcr_cassettes/test_examples/1000197.yml +0 -46
  822. data/fixtures/vcr_cassettes/test_examples/1000198.yml +0 -46
  823. data/fixtures/vcr_cassettes/test_examples/1000199.yml +0 -46
  824. data/fixtures/vcr_cassettes/test_examples/1000200.yml +0 -46
  825. data/fixtures/vcr_cassettes/test_examples/1000201.yml +0 -46
  826. data/fixtures/vcr_cassettes/test_examples/1000202.yml +0 -46
  827. data/fixtures/vcr_cassettes/test_examples/1000203.yml +0 -46
  828. data/fixtures/vcr_cassettes/test_examples/1000204.yml +0 -46
  829. data/fixtures/vcr_cassettes/test_examples/1000205.yml +0 -46
  830. data/fixtures/vcr_cassettes/test_examples/1000206.yml +0 -46
  831. data/fixtures/vcr_cassettes/test_examples/1000207.yml +0 -46
  832. data/fixtures/vcr_cassettes/test_examples/1000208.yml +0 -46
  833. data/fixtures/vcr_cassettes/test_examples/1000209.yml +0 -46
  834. data/fixtures/vcr_cassettes/test_examples/1000210.yml +0 -46
  835. data/fixtures/vcr_cassettes/test_examples/1000211.yml +0 -46
  836. data/fixtures/vcr_cassettes/test_examples/1000212.yml +0 -46
  837. data/fixtures/vcr_cassettes/test_examples/1000213.yml +0 -46
  838. data/fixtures/vcr_cassettes/test_examples/1000214.yml +0 -46
  839. data/fixtures/vcr_cassettes/test_examples/1000215.yml +0 -46
  840. data/fixtures/vcr_cassettes/test_examples/1000216.yml +0 -46
  841. data/fixtures/vcr_cassettes/test_examples/1000217.yml +0 -46
  842. data/fixtures/vcr_cassettes/test_examples/1000218.yml +0 -46
  843. data/fixtures/vcr_cassettes/test_examples/1000219.yml +0 -46
  844. data/fixtures/vcr_cassettes/test_examples/1000220.yml +0 -46
  845. data/fixtures/vcr_cassettes/test_examples/1000221.yml +0 -46
  846. data/fixtures/vcr_cassettes/test_examples/1000222.yml +0 -46
  847. data/fixtures/vcr_cassettes/test_examples/1000223.yml +0 -46
  848. data/fixtures/vcr_cassettes/test_examples/1000224.yml +0 -46
  849. data/fixtures/vcr_cassettes/test_examples/1000225.yml +0 -46
  850. data/fixtures/vcr_cassettes/test_examples/1000226.yml +0 -46
  851. data/fixtures/vcr_cassettes/test_examples/1000227.yml +0 -46
  852. data/fixtures/vcr_cassettes/test_examples/1000228.yml +0 -46
  853. data/fixtures/vcr_cassettes/test_examples/1000229.yml +0 -46
  854. data/fixtures/vcr_cassettes/test_examples/1000230.yml +0 -46
  855. data/fixtures/vcr_cassettes/test_examples/1000231.yml +0 -46
  856. data/fixtures/vcr_cassettes/test_examples/1000232.yml +0 -46
  857. data/fixtures/vcr_cassettes/test_examples/1000233.yml +0 -46
  858. data/fixtures/vcr_cassettes/test_examples/1000234.yml +0 -46
  859. data/fixtures/vcr_cassettes/test_examples/1000235.yml +0 -46
  860. data/fixtures/vcr_cassettes/test_examples/1000236.yml +0 -46
  861. data/fixtures/vcr_cassettes/test_examples/1000237.yml +0 -46
  862. data/fixtures/vcr_cassettes/test_examples/1000238.yml +0 -46
  863. data/fixtures/vcr_cassettes/test_examples/1000239.yml +0 -46
  864. data/fixtures/vcr_cassettes/test_examples/1000240.yml +0 -46
  865. data/fixtures/vcr_cassettes/test_examples/1000241.yml +0 -46
  866. data/fixtures/vcr_cassettes/test_examples/1000242.yml +0 -46
  867. data/fixtures/vcr_cassettes/test_examples/1000243.yml +0 -46
  868. data/fixtures/vcr_cassettes/test_examples/1000244.yml +0 -51
  869. data/fixtures/vcr_cassettes/test_examples/1000245.yml +0 -51
  870. data/fixtures/vcr_cassettes/test_examples/1000246.yml +0 -51
  871. data/fixtures/vcr_cassettes/test_examples/1000247.yml +0 -51
  872. data/fixtures/vcr_cassettes/test_examples/1000248.yml +0 -51
  873. data/fixtures/vcr_cassettes/test_examples/1000249.yml +0 -51
  874. data/fixtures/vcr_cassettes/test_examples/1000250.yml +0 -51
  875. data/fixtures/vcr_cassettes/test_examples/1000253.yml +0 -51
  876. data/fixtures/vcr_cassettes/test_examples/1000254.yml +0 -51
  877. data/fixtures/vcr_cassettes/test_examples/1000255.yml +0 -51
  878. data/fixtures/vcr_cassettes/test_examples/1000256.yml +0 -50
  879. data/fixtures/vcr_cassettes/test_examples/1000257.yml +0 -50
  880. data/fixtures/vcr_cassettes/test_examples/1000258.yml +0 -50
  881. data/fixtures/vcr_cassettes/test_examples/1000259.yml +0 -50
  882. data/fixtures/vcr_cassettes/test_examples/1000260.yml +0 -50
  883. data/fixtures/vcr_cassettes/test_examples/1000261.yml +0 -50
  884. data/fixtures/vcr_cassettes/test_examples/1000262.yml +0 -50
  885. data/fixtures/vcr_cassettes/test_examples/1000264.yml +0 -50
  886. data/fixtures/vcr_cassettes/test_examples/1000265.yml +0 -50
  887. data/fixtures/vcr_cassettes/test_examples/1000266.yml +0 -50
  888. data/fixtures/vcr_cassettes/test_examples/1000267.yml +0 -50
  889. data/fixtures/vcr_cassettes/test_examples/1000268.yml +0 -50
  890. data/fixtures/vcr_cassettes/test_examples/1000269.yml +0 -50
  891. data/fixtures/vcr_cassettes/test_examples/1000270.yml +0 -50
  892. data/fixtures/vcr_cassettes/test_examples/1000271.yml +0 -50
  893. data/fixtures/vcr_cassettes/test_examples/1000272.yml +0 -50
  894. data/fixtures/vcr_cassettes/test_examples/1000274.yml +0 -50
  895. data/fixtures/vcr_cassettes/test_examples/1000275.yml +0 -50
  896. data/fixtures/vcr_cassettes/test_examples/1000276.yml +0 -50
  897. data/fixtures/vcr_cassettes/test_examples/1000277.yml +0 -50
  898. data/fixtures/vcr_cassettes/test_examples/1000278.yml +0 -50
  899. data/fixtures/vcr_cassettes/test_examples/1000279.yml +0 -50
  900. data/fixtures/vcr_cassettes/test_examples/1000280.yml +0 -50
  901. data/fixtures/vcr_cassettes/test_examples/1000281.yml +0 -50
  902. data/fixtures/vcr_cassettes/test_examples/1000282.yml +0 -50
  903. data/fixtures/vcr_cassettes/test_examples/1000283.yml +0 -50
  904. data/fixtures/vcr_cassettes/test_examples/1000284.yml +0 -50
  905. data/fixtures/vcr_cassettes/test_examples/1000285.yml +0 -50
  906. data/fixtures/vcr_cassettes/test_examples/1000286.yml +0 -50
  907. data/fixtures/vcr_cassettes/test_examples/1000287.yml +0 -50
  908. data/fixtures/vcr_cassettes/test_examples/1000288.yml +0 -50
  909. data/fixtures/vcr_cassettes/test_examples/1000289.yml +0 -50
  910. data/fixtures/vcr_cassettes/test_examples/1000290.yml +0 -50
  911. data/fixtures/vcr_cassettes/test_examples/1000291.yml +0 -50
  912. data/fixtures/vcr_cassettes/test_examples/1000292.yml +0 -50
  913. data/fixtures/vcr_cassettes/test_examples/1000293.yml +0 -50
  914. data/fixtures/vcr_cassettes/test_examples/1000294.yml +0 -50
  915. data/fixtures/vcr_cassettes/test_examples/1000295.yml +0 -50
  916. data/fixtures/vcr_cassettes/test_examples/1000296.yml +0 -50
  917. data/fixtures/vcr_cassettes/test_examples/1000297.yml +0 -50
  918. data/fixtures/vcr_cassettes/test_examples/1000298.yml +0 -50
  919. data/fixtures/vcr_cassettes/test_examples/1000299.yml +0 -50
  920. data/fixtures/vcr_cassettes/test_examples/1000300.yml +0 -50
  921. data/fixtures/vcr_cassettes/test_examples/1000301.yml +0 -50
  922. data/fixtures/vcr_cassettes/test_examples/1000302.yml +0 -50
  923. data/fixtures/vcr_cassettes/test_examples/1000303.yml +0 -50
  924. data/fixtures/vcr_cassettes/test_examples/1000304.yml +0 -50
  925. data/fixtures/vcr_cassettes/test_examples/1000305.yml +0 -50
  926. data/fixtures/vcr_cassettes/test_examples/1000306.yml +0 -50
  927. data/fixtures/vcr_cassettes/test_examples/1000307.yml +0 -50
  928. data/fixtures/vcr_cassettes/test_examples/1000308.yml +0 -50
  929. data/fixtures/vcr_cassettes/test_examples/1000309.yml +0 -50
  930. data/fixtures/vcr_cassettes/test_examples/1000310.yml +0 -50
  931. data/fixtures/vcr_cassettes/test_examples/1000311.yml +0 -50
  932. data/fixtures/vcr_cassettes/test_examples/1000312.yml +0 -50
  933. data/fixtures/vcr_cassettes/test_examples/1000313.yml +0 -50
  934. data/fixtures/vcr_cassettes/test_examples/1000314.yml +0 -50
  935. data/fixtures/vcr_cassettes/test_examples/1000315.yml +0 -50
  936. data/fixtures/vcr_cassettes/test_examples/1000316.yml +0 -50
  937. data/fixtures/vcr_cassettes/test_examples/1000317.yml +0 -50
  938. data/fixtures/vcr_cassettes/test_examples/1000318.yml +0 -50
  939. data/fixtures/vcr_cassettes/test_examples/1000319.yml +0 -50
  940. data/fixtures/vcr_cassettes/test_examples/1000320.yml +0 -50
  941. data/fixtures/vcr_cassettes/test_examples/1000321.yml +0 -50
  942. data/fixtures/vcr_cassettes/test_examples/1000322.yml +0 -50
  943. data/fixtures/vcr_cassettes/test_examples/1000323.yml +0 -50
  944. data/fixtures/vcr_cassettes/test_examples/1000324.yml +0 -50
  945. data/fixtures/vcr_cassettes/test_examples/1000325.yml +0 -50
  946. data/fixtures/vcr_cassettes/test_examples/1000326.yml +0 -50
  947. data/fixtures/vcr_cassettes/test_examples/1000327.yml +0 -50
  948. data/fixtures/vcr_cassettes/test_examples/1000328.yml +0 -50
  949. data/fixtures/vcr_cassettes/test_examples/1000329.yml +0 -50
  950. data/fixtures/vcr_cassettes/test_examples/1000330.yml +0 -50
  951. data/fixtures/vcr_cassettes/test_examples/1000331.yml +0 -50
  952. data/fixtures/vcr_cassettes/test_examples/1000332.yml +0 -50
  953. data/fixtures/vcr_cassettes/test_examples/1000333.yml +0 -50
  954. data/fixtures/vcr_cassettes/test_examples/1000334.yml +0 -50
  955. data/fixtures/vcr_cassettes/test_examples/1000335.yml +0 -50
  956. data/fixtures/vcr_cassettes/test_examples/1000336.yml +0 -50
  957. data/fixtures/vcr_cassettes/test_examples/1000337.yml +0 -50
  958. data/fixtures/vcr_cassettes/test_examples/1000338.yml +0 -50
  959. data/fixtures/vcr_cassettes/test_examples/1000339.yml +0 -50
  960. data/fixtures/vcr_cassettes/test_examples/1000340.yml +0 -50
  961. data/fixtures/vcr_cassettes/test_examples/1000341.yml +0 -50
  962. data/fixtures/vcr_cassettes/test_examples/1000342.yml +0 -50
  963. data/fixtures/vcr_cassettes/test_examples/1000343.yml +0 -50
  964. data/fixtures/vcr_cassettes/test_examples/1000344.yml +0 -50
  965. data/fixtures/vcr_cassettes/test_examples/1000345.yml +0 -50
  966. data/fixtures/vcr_cassettes/test_examples/1000346.yml +0 -50
  967. data/fixtures/vcr_cassettes/test_examples/1000347.yml +0 -50
  968. data/fixtures/vcr_cassettes/test_examples/1000348.yml +0 -50
  969. data/fixtures/vcr_cassettes/test_examples/1000349.yml +0 -50
  970. data/fixtures/vcr_cassettes/test_examples/1000350.yml +0 -50
  971. data/fixtures/vcr_cassettes/test_examples/1000351.yml +0 -50
  972. data/fixtures/vcr_cassettes/test_examples/1000352.yml +0 -50
  973. data/fixtures/vcr_cassettes/test_examples/1000353.yml +0 -50
  974. data/fixtures/vcr_cassettes/test_examples/1000354.yml +0 -50
  975. data/fixtures/vcr_cassettes/test_examples/1000355.yml +0 -50
  976. data/fixtures/vcr_cassettes/test_examples/1000356.yml +0 -50
  977. data/fixtures/vcr_cassettes/test_examples/1000357.yml +0 -50
  978. data/fixtures/vcr_cassettes/test_examples/1000358.yml +0 -50
  979. data/fixtures/vcr_cassettes/test_examples/1000359.yml +0 -50
  980. data/fixtures/vcr_cassettes/test_examples/1000360.yml +0 -50
  981. data/fixtures/vcr_cassettes/test_examples/1000361.yml +0 -50
  982. data/fixtures/vcr_cassettes/test_examples/1000362.yml +0 -50
  983. data/fixtures/vcr_cassettes/test_examples/1000363.yml +0 -50
  984. data/fixtures/vcr_cassettes/test_examples/1000364.yml +0 -50
  985. data/fixtures/vcr_cassettes/test_examples/1000365.yml +0 -50
  986. data/fixtures/vcr_cassettes/test_examples/1000366.yml +0 -50
  987. data/fixtures/vcr_cassettes/test_examples/1000367.yml +0 -50
  988. data/fixtures/vcr_cassettes/test_examples/1000368.yml +0 -50
  989. data/fixtures/vcr_cassettes/test_examples/1000369.yml +0 -50
  990. data/fixtures/vcr_cassettes/test_examples/1000370.yml +0 -50
  991. data/fixtures/vcr_cassettes/test_examples/1000371.yml +0 -50
  992. data/fixtures/vcr_cassettes/test_examples/1000372.yml +0 -50
  993. data/fixtures/vcr_cassettes/test_examples/1000373.yml +0 -50
  994. data/fixtures/vcr_cassettes/test_examples/1000374.yml +0 -50
  995. data/fixtures/vcr_cassettes/test_examples/1000375.yml +0 -50
  996. data/fixtures/vcr_cassettes/test_examples/1000376.yml +0 -50
  997. data/fixtures/vcr_cassettes/test_examples/1000377.yml +0 -50
  998. data/fixtures/vcr_cassettes/test_examples/1000378.yml +0 -50
  999. data/fixtures/vcr_cassettes/test_examples/1000379.yml +0 -50
  1000. data/fixtures/vcr_cassettes/test_examples/1000380.yml +0 -50
  1001. data/fixtures/vcr_cassettes/test_examples/1000381.yml +0 -50
  1002. data/fixtures/vcr_cassettes/test_examples/1000382.yml +0 -50
  1003. data/fixtures/vcr_cassettes/test_examples/1000383.yml +0 -50
  1004. data/fixtures/vcr_cassettes/test_examples/1000384.yml +0 -50
  1005. data/fixtures/vcr_cassettes/test_examples/1000385.yml +0 -50
  1006. data/fixtures/vcr_cassettes/test_examples/1000386.yml +0 -50
  1007. data/fixtures/vcr_cassettes/test_examples/1000387.yml +0 -50
  1008. data/fixtures/vcr_cassettes/test_examples/1000388.yml +0 -50
  1009. data/fixtures/vcr_cassettes/test_examples/1000389.yml +0 -50
  1010. data/fixtures/vcr_cassettes/test_examples/1000390.yml +0 -50
  1011. data/fixtures/vcr_cassettes/test_examples/1000391.yml +0 -50
  1012. data/fixtures/vcr_cassettes/test_examples/1000392.yml +0 -50
  1013. data/fixtures/vcr_cassettes/test_examples/1000393.yml +0 -50
  1014. data/fixtures/vcr_cassettes/test_examples/1000394.yml +0 -50
  1015. data/fixtures/vcr_cassettes/test_examples/1000395.yml +0 -50
  1016. data/fixtures/vcr_cassettes/test_examples/1000396.yml +0 -50
  1017. data/fixtures/vcr_cassettes/test_examples/1000397.yml +0 -50
  1018. data/fixtures/vcr_cassettes/test_examples/1000398.yml +0 -50
  1019. data/fixtures/vcr_cassettes/test_examples/1000399.yml +0 -50
  1020. data/fixtures/vcr_cassettes/test_examples/1000400.yml +0 -50
  1021. data/fixtures/vcr_cassettes/test_examples/1000401.yml +0 -50
  1022. data/fixtures/vcr_cassettes/test_examples/1000402.yml +0 -50
  1023. data/fixtures/vcr_cassettes/test_examples/1000403.yml +0 -50
  1024. data/fixtures/vcr_cassettes/test_examples/1000404.yml +0 -50
  1025. data/fixtures/vcr_cassettes/test_examples/1000405.yml +0 -50
  1026. data/fixtures/vcr_cassettes/test_examples/1000406.yml +0 -50
  1027. data/fixtures/vcr_cassettes/test_examples/1000407.yml +0 -50
  1028. data/fixtures/vcr_cassettes/test_examples/1000408.yml +0 -50
  1029. data/fixtures/vcr_cassettes/test_examples/1000409.yml +0 -50
  1030. data/fixtures/vcr_cassettes/test_examples/1000410.yml +0 -50
  1031. data/fixtures/vcr_cassettes/test_examples/1000411.yml +0 -50
  1032. data/fixtures/vcr_cassettes/test_examples/1000412.yml +0 -50
  1033. data/fixtures/vcr_cassettes/test_examples/1000413.yml +0 -50
  1034. data/fixtures/vcr_cassettes/test_examples/1000414.yml +0 -50
  1035. data/fixtures/vcr_cassettes/test_examples/1000415.yml +0 -50
  1036. data/fixtures/vcr_cassettes/test_examples/1000416.yml +0 -50
  1037. data/fixtures/vcr_cassettes/test_examples/1000417.yml +0 -50
  1038. data/fixtures/vcr_cassettes/test_examples/1000418.yml +0 -50
  1039. data/fixtures/vcr_cassettes/test_examples/1000419.yml +0 -50
  1040. data/fixtures/vcr_cassettes/test_examples/1000420.yml +0 -50
  1041. data/fixtures/vcr_cassettes/test_examples/1000421.yml +0 -50
  1042. data/fixtures/vcr_cassettes/test_examples/1000422.yml +0 -50
  1043. data/fixtures/vcr_cassettes/test_examples/1000423.yml +0 -50
  1044. data/fixtures/vcr_cassettes/test_examples/1000424.yml +0 -50
  1045. data/fixtures/vcr_cassettes/test_examples/1000425.yml +0 -50
  1046. data/fixtures/vcr_cassettes/test_examples/1000426.yml +0 -50
  1047. data/fixtures/vcr_cassettes/test_examples/1000427.yml +0 -50
  1048. data/fixtures/vcr_cassettes/test_examples/1000428.yml +0 -50
  1049. data/fixtures/vcr_cassettes/test_examples/1000429.yml +0 -50
  1050. data/fixtures/vcr_cassettes/test_examples/1000430.yml +0 -50
  1051. data/fixtures/vcr_cassettes/test_examples/1000431.yml +0 -50
  1052. data/fixtures/vcr_cassettes/test_examples/1000432.yml +0 -50
  1053. data/fixtures/vcr_cassettes/test_examples/1000433.yml +0 -50
  1054. data/fixtures/vcr_cassettes/test_examples/1000434.yml +0 -50
  1055. data/fixtures/vcr_cassettes/test_examples/1000435.yml +0 -50
  1056. data/fixtures/vcr_cassettes/test_examples/1000436.yml +0 -50
  1057. data/fixtures/vcr_cassettes/test_examples/1000437.yml +0 -50
  1058. data/fixtures/vcr_cassettes/test_examples/1000438.yml +0 -50
  1059. data/fixtures/vcr_cassettes/test_examples/1000439.yml +0 -50
  1060. data/fixtures/vcr_cassettes/test_examples/1000440.yml +0 -50
  1061. data/fixtures/vcr_cassettes/test_examples/1000441.yml +0 -50
  1062. data/fixtures/vcr_cassettes/test_examples/1000442.yml +0 -50
  1063. data/fixtures/vcr_cassettes/test_examples/1000443.yml +0 -50
  1064. data/fixtures/vcr_cassettes/test_examples/1000444.yml +0 -50
  1065. data/fixtures/vcr_cassettes/test_examples/1000445.yml +0 -50
  1066. data/fixtures/vcr_cassettes/test_examples/1000446.yml +0 -50
  1067. data/fixtures/vcr_cassettes/test_examples/1000447.yml +0 -50
  1068. data/fixtures/vcr_cassettes/test_examples/1000448.yml +0 -50
  1069. data/fixtures/vcr_cassettes/test_examples/1000449.yml +0 -50
  1070. data/fixtures/vcr_cassettes/test_examples/1000451.yml +0 -50
  1071. data/fixtures/vcr_cassettes/test_examples/1000452.yml +0 -50
  1072. data/fixtures/vcr_cassettes/test_examples/1000453.yml +0 -50
  1073. data/fixtures/vcr_cassettes/test_examples/1000454.yml +0 -50
  1074. data/fixtures/vcr_cassettes/test_examples/1000455.yml +0 -50
  1075. data/fixtures/vcr_cassettes/test_examples/1000456.yml +0 -50
  1076. data/fixtures/vcr_cassettes/test_examples/1000457.yml +0 -50
  1077. data/fixtures/vcr_cassettes/test_examples/1000458.yml +0 -50
  1078. data/fixtures/vcr_cassettes/test_examples/1000459.yml +0 -50
  1079. data/fixtures/vcr_cassettes/test_examples/1000460.yml +0 -50
  1080. data/fixtures/vcr_cassettes/test_examples/1000461.yml +0 -50
  1081. data/fixtures/vcr_cassettes/test_examples/1000462.yml +0 -50
  1082. data/fixtures/vcr_cassettes/test_examples/1000463.yml +0 -50
  1083. data/fixtures/vcr_cassettes/test_examples/1000464.yml +0 -50
  1084. data/fixtures/vcr_cassettes/test_examples/1000465.yml +0 -50
  1085. data/fixtures/vcr_cassettes/test_examples/1000466.yml +0 -50
  1086. data/fixtures/vcr_cassettes/test_examples/1000467.yml +0 -50
  1087. data/fixtures/vcr_cassettes/test_examples/1000468.yml +0 -50
  1088. data/fixtures/vcr_cassettes/test_examples/1000469.yml +0 -50
  1089. data/fixtures/vcr_cassettes/test_examples/1000470.yml +0 -50
  1090. data/fixtures/vcr_cassettes/test_examples/1000471.yml +0 -50
  1091. data/fixtures/vcr_cassettes/test_examples/1000472.yml +0 -50
  1092. data/fixtures/vcr_cassettes/test_examples/1000473.yml +0 -50
  1093. data/fixtures/vcr_cassettes/test_examples/1000474.yml +0 -50
  1094. data/fixtures/vcr_cassettes/test_examples/1000475.yml +0 -50
  1095. data/fixtures/vcr_cassettes/test_examples/1000476.yml +0 -50
  1096. data/fixtures/vcr_cassettes/test_examples/1000477.yml +0 -50
  1097. data/fixtures/vcr_cassettes/test_examples/1000478.yml +0 -50
  1098. data/fixtures/vcr_cassettes/test_examples/1000479.yml +0 -50
  1099. data/fixtures/vcr_cassettes/test_examples/1000480.yml +0 -50
  1100. data/fixtures/vcr_cassettes/test_examples/1000481.yml +0 -50
  1101. data/fixtures/vcr_cassettes/test_examples/1000482.yml +0 -50
  1102. data/fixtures/vcr_cassettes/test_examples/1000483.yml +0 -50
  1103. data/fixtures/vcr_cassettes/test_examples/1000484.yml +0 -50
  1104. data/fixtures/vcr_cassettes/test_examples/1000485.yml +0 -50
  1105. data/fixtures/vcr_cassettes/test_examples/1000486.yml +0 -50
  1106. data/fixtures/vcr_cassettes/test_examples/1000487.yml +0 -50
  1107. data/fixtures/vcr_cassettes/test_examples/1000488.yml +0 -50
  1108. data/fixtures/vcr_cassettes/test_examples/1000489.yml +0 -50
  1109. data/fixtures/vcr_cassettes/test_examples/1000490.yml +0 -50
  1110. data/fixtures/vcr_cassettes/test_examples/1000491.yml +0 -50
  1111. data/fixtures/vcr_cassettes/test_examples/1000492.yml +0 -50
  1112. data/fixtures/vcr_cassettes/test_examples/1000493.yml +0 -50
  1113. data/fixtures/vcr_cassettes/test_examples/1000494.yml +0 -50
  1114. data/fixtures/vcr_cassettes/test_examples/1000495.yml +0 -50
  1115. data/fixtures/vcr_cassettes/test_examples/1000496.yml +0 -50
  1116. data/fixtures/vcr_cassettes/test_examples/1000497.yml +0 -50
  1117. data/fixtures/vcr_cassettes/test_examples/1000498.yml +0 -50
  1118. data/fixtures/vcr_cassettes/test_examples/1000499.yml +0 -50
  1119. data/fixtures/vcr_cassettes/test_examples/1000500.yml +0 -50
  1120. data/fixtures/vcr_cassettes/test_examples/1000501.yml +0 -50
  1121. data/fixtures/vcr_cassettes/test_examples/1000502.yml +0 -50
  1122. data/fixtures/vcr_cassettes/test_examples/1000503.yml +0 -50
  1123. data/fixtures/vcr_cassettes/test_examples/1000504.yml +0 -50
  1124. data/fixtures/vcr_cassettes/test_examples/1000505.yml +0 -50
  1125. data/fixtures/vcr_cassettes/test_examples/1000506.yml +0 -50
  1126. data/fixtures/vcr_cassettes/test_examples/1000507.yml +0 -50
  1127. data/fixtures/vcr_cassettes/test_examples/1000508.yml +0 -50
  1128. data/fixtures/vcr_cassettes/test_examples/1000509.yml +0 -50
  1129. data/fixtures/vcr_cassettes/test_examples/1000510.yml +0 -50
  1130. data/fixtures/vcr_cassettes/test_examples/1000511.yml +0 -50
  1131. data/fixtures/vcr_cassettes/test_examples/1000512.yml +0 -50
  1132. data/fixtures/vcr_cassettes/test_examples/1000513.yml +0 -50
  1133. data/fixtures/vcr_cassettes/test_examples/1000514.yml +0 -50
  1134. data/fixtures/vcr_cassettes/test_examples/1000515.yml +0 -50
  1135. data/fixtures/vcr_cassettes/test_examples/1000516.yml +0 -50
  1136. data/fixtures/vcr_cassettes/test_examples/1000517.yml +0 -50
  1137. data/fixtures/vcr_cassettes/test_examples/1000518.yml +0 -50
  1138. data/fixtures/vcr_cassettes/test_examples/1000519.yml +0 -50
  1139. data/fixtures/vcr_cassettes/test_examples/1000520.yml +0 -50
  1140. data/fixtures/vcr_cassettes/test_examples/1000521.yml +0 -50
  1141. data/fixtures/vcr_cassettes/test_examples/1000522.yml +0 -50
  1142. data/fixtures/vcr_cassettes/test_examples/1000523.yml +0 -50
  1143. data/fixtures/vcr_cassettes/test_examples/1000524.yml +0 -50
  1144. data/fixtures/vcr_cassettes/test_examples/1000525.yml +0 -50
  1145. data/fixtures/vcr_cassettes/test_examples/1000526.yml +0 -50
  1146. data/fixtures/vcr_cassettes/test_examples/1000527.yml +0 -50
  1147. data/fixtures/vcr_cassettes/test_examples/1000528.yml +0 -50
  1148. data/fixtures/vcr_cassettes/test_examples/1000529.yml +0 -50
  1149. data/fixtures/vcr_cassettes/test_examples/1000530.yml +0 -50
  1150. data/fixtures/vcr_cassettes/test_examples/1000531.yml +0 -50
  1151. data/fixtures/vcr_cassettes/test_examples/1000532.yml +0 -50
  1152. data/fixtures/vcr_cassettes/test_examples/1000533.yml +0 -50
  1153. data/fixtures/vcr_cassettes/test_examples/1000534.yml +0 -50
  1154. data/fixtures/vcr_cassettes/test_examples/1000535.yml +0 -50
  1155. data/fixtures/vcr_cassettes/test_examples/1000536.yml +0 -50
  1156. data/fixtures/vcr_cassettes/test_examples/1000537.yml +0 -50
  1157. data/fixtures/vcr_cassettes/test_examples/1000538.yml +0 -50
  1158. data/fixtures/vcr_cassettes/test_examples/1000539.yml +0 -50
  1159. data/fixtures/vcr_cassettes/test_examples/1000540.yml +0 -50
  1160. data/fixtures/vcr_cassettes/test_examples/1000541.yml +0 -50
  1161. data/fixtures/vcr_cassettes/test_examples/1000542.yml +0 -50
  1162. data/fixtures/vcr_cassettes/test_examples/1000543.yml +0 -50
  1163. data/fixtures/vcr_cassettes/test_examples/1000544.yml +0 -50
  1164. data/fixtures/vcr_cassettes/test_examples/1000545.yml +0 -50
  1165. data/fixtures/vcr_cassettes/test_examples/1000546.yml +0 -50
  1166. data/fixtures/vcr_cassettes/test_examples/1000547.yml +0 -50
  1167. data/fixtures/vcr_cassettes/test_examples/1000548.yml +0 -50
  1168. data/fixtures/vcr_cassettes/test_examples/1000549.yml +0 -50
  1169. data/fixtures/vcr_cassettes/test_examples/1000550.yml +0 -50
  1170. data/fixtures/vcr_cassettes/test_examples/1000551.yml +0 -50
  1171. data/fixtures/vcr_cassettes/test_examples/1000552.yml +0 -50
  1172. data/fixtures/vcr_cassettes/test_examples/1000553.yml +0 -50
  1173. data/fixtures/vcr_cassettes/test_examples/1000554.yml +0 -50
  1174. data/fixtures/vcr_cassettes/test_examples/1000555.yml +0 -50
  1175. data/fixtures/vcr_cassettes/test_examples/1000556.yml +0 -50
  1176. data/fixtures/vcr_cassettes/test_examples/1000557.yml +0 -50
  1177. data/fixtures/vcr_cassettes/test_examples/1000558.yml +0 -50
  1178. data/fixtures/vcr_cassettes/test_examples/1000559.yml +0 -50
  1179. data/fixtures/vcr_cassettes/test_examples/1000560.yml +0 -50
  1180. data/fixtures/vcr_cassettes/test_examples/1000561.yml +0 -50
  1181. data/fixtures/vcr_cassettes/test_examples/1000562.yml +0 -50
  1182. data/fixtures/vcr_cassettes/test_examples/1000563.yml +0 -50
  1183. data/fixtures/vcr_cassettes/test_examples/1000564.yml +0 -50
  1184. data/fixtures/vcr_cassettes/test_examples/1000565.yml +0 -50
  1185. data/fixtures/vcr_cassettes/test_examples/1000566.yml +0 -50
  1186. data/fixtures/vcr_cassettes/test_examples/1000567.yml +0 -50
  1187. data/fixtures/vcr_cassettes/test_examples/1000568.yml +0 -50
  1188. data/fixtures/vcr_cassettes/test_examples/1000569.yml +0 -50
  1189. data/fixtures/vcr_cassettes/test_examples/1000570.yml +0 -50
  1190. data/fixtures/vcr_cassettes/test_examples/1000571.yml +0 -50
  1191. data/fixtures/vcr_cassettes/test_examples/1000572.yml +0 -50
  1192. data/fixtures/vcr_cassettes/test_examples/1000573.yml +0 -50
  1193. data/fixtures/vcr_cassettes/test_examples/1000574.yml +0 -50
  1194. data/fixtures/vcr_cassettes/test_examples/1000575.yml +0 -50
  1195. data/fixtures/vcr_cassettes/test_examples/1000576.yml +0 -50
  1196. data/fixtures/vcr_cassettes/test_examples/1000577.yml +0 -50
  1197. data/fixtures/vcr_cassettes/test_examples/1000578.yml +0 -50
  1198. data/fixtures/vcr_cassettes/test_examples/1000579.yml +0 -50
  1199. data/fixtures/vcr_cassettes/test_examples/1000580.yml +0 -50
  1200. data/fixtures/vcr_cassettes/test_examples/1000581.yml +0 -50
  1201. data/fixtures/vcr_cassettes/test_examples/1000582.yml +0 -50
  1202. data/fixtures/vcr_cassettes/test_examples/1000583.yml +0 -50
  1203. data/fixtures/vcr_cassettes/test_examples/1000584.yml +0 -50
  1204. data/fixtures/vcr_cassettes/test_examples/1000585.yml +0 -50
  1205. data/fixtures/vcr_cassettes/test_examples/1000586.yml +0 -50
  1206. data/fixtures/vcr_cassettes/test_examples/1000587.yml +0 -50
  1207. data/fixtures/vcr_cassettes/test_examples/1000588.yml +0 -50
  1208. data/fixtures/vcr_cassettes/test_examples/1000589.yml +0 -50
  1209. data/fixtures/vcr_cassettes/test_examples/1000590.yml +0 -50
  1210. data/fixtures/vcr_cassettes/test_examples/1000591.yml +0 -50
  1211. data/fixtures/vcr_cassettes/test_examples/1000592.yml +0 -50
  1212. data/fixtures/vcr_cassettes/test_examples/1000593.yml +0 -50
  1213. data/fixtures/vcr_cassettes/test_examples/1000594.yml +0 -50
  1214. data/fixtures/vcr_cassettes/test_examples/1000595.yml +0 -50
  1215. data/fixtures/vcr_cassettes/test_examples/1000596.yml +0 -50
  1216. data/fixtures/vcr_cassettes/test_examples/1000597.yml +0 -50
  1217. data/fixtures/vcr_cassettes/test_examples/1000598.yml +0 -50
  1218. data/fixtures/vcr_cassettes/test_examples/1000599.yml +0 -50
  1219. data/fixtures/vcr_cassettes/test_examples/1000600.yml +0 -50
  1220. data/fixtures/vcr_cassettes/test_examples/1000601.yml +0 -50
  1221. data/fixtures/vcr_cassettes/test_examples/1000602.yml +0 -50
  1222. data/fixtures/vcr_cassettes/test_examples/1000603.yml +0 -50
  1223. data/fixtures/vcr_cassettes/test_examples/1000604.yml +0 -50
  1224. data/fixtures/vcr_cassettes/test_examples/1000605.yml +0 -50
  1225. data/fixtures/vcr_cassettes/test_examples/1000606.yml +0 -50
  1226. data/fixtures/vcr_cassettes/test_examples/1000607.yml +0 -50
  1227. data/fixtures/vcr_cassettes/test_examples/1000608.yml +0 -50
  1228. data/fixtures/vcr_cassettes/test_examples/1000609.yml +0 -50
  1229. data/fixtures/vcr_cassettes/test_examples/1000610.yml +0 -50
  1230. data/fixtures/vcr_cassettes/test_examples/1000611.yml +0 -50
  1231. data/fixtures/vcr_cassettes/test_examples/1000612.yml +0 -50
  1232. data/fixtures/vcr_cassettes/test_examples/1000613.yml +0 -50
  1233. data/fixtures/vcr_cassettes/test_examples/1000614.yml +0 -50
  1234. data/fixtures/vcr_cassettes/test_examples/1000615.yml +0 -50
  1235. data/fixtures/vcr_cassettes/test_examples/1000616.yml +0 -50
  1236. data/fixtures/vcr_cassettes/test_examples/1000617.yml +0 -50
  1237. data/fixtures/vcr_cassettes/test_examples/1000618.yml +0 -50
  1238. data/fixtures/vcr_cassettes/test_examples/1000619.yml +0 -50
  1239. data/fixtures/vcr_cassettes/test_examples/1000620.yml +0 -50
  1240. data/fixtures/vcr_cassettes/test_examples/1000621.yml +0 -50
  1241. data/fixtures/vcr_cassettes/test_examples/1000622.yml +0 -50
  1242. data/fixtures/vcr_cassettes/test_examples/1000623.yml +0 -50
  1243. data/fixtures/vcr_cassettes/test_examples/1000624.yml +0 -50
  1244. data/fixtures/vcr_cassettes/test_examples/1000625.yml +0 -50
  1245. data/fixtures/vcr_cassettes/test_examples/1000626.yml +0 -50
  1246. data/fixtures/vcr_cassettes/test_examples/1000627.yml +0 -50
  1247. data/fixtures/vcr_cassettes/test_examples/1000628.yml +0 -50
  1248. data/fixtures/vcr_cassettes/test_examples/1000629.yml +0 -50
  1249. data/fixtures/vcr_cassettes/test_examples/1000630.yml +0 -50
  1250. data/fixtures/vcr_cassettes/test_examples/1000631.yml +0 -50
  1251. data/fixtures/vcr_cassettes/test_examples/1000632.yml +0 -50
  1252. data/fixtures/vcr_cassettes/test_examples/1000633.yml +0 -50
  1253. data/fixtures/vcr_cassettes/test_examples/1000634.yml +0 -50
  1254. data/fixtures/vcr_cassettes/test_examples/1000635.yml +0 -50
  1255. data/fixtures/vcr_cassettes/test_examples/1000636.yml +0 -50
  1256. data/fixtures/vcr_cassettes/test_examples/1000637.yml +0 -50
  1257. data/fixtures/vcr_cassettes/test_examples/1000638.yml +0 -50
  1258. data/fixtures/vcr_cassettes/test_examples/1000639.yml +0 -50
  1259. data/fixtures/vcr_cassettes/test_examples/1000640.yml +0 -50
  1260. data/fixtures/vcr_cassettes/test_examples/1000641.yml +0 -50
  1261. data/fixtures/vcr_cassettes/test_examples/1000642.yml +0 -50
  1262. data/fixtures/vcr_cassettes/test_examples/1000643.yml +0 -50
  1263. data/fixtures/vcr_cassettes/test_examples/1000644.yml +0 -50
  1264. data/fixtures/vcr_cassettes/test_examples/1000645.yml +0 -50
  1265. data/fixtures/vcr_cassettes/test_examples/1000646.yml +0 -50
  1266. data/fixtures/vcr_cassettes/test_examples/1000647.yml +0 -50
  1267. data/fixtures/vcr_cassettes/test_examples/1000648.yml +0 -50
  1268. data/fixtures/vcr_cassettes/test_examples/1000649.yml +0 -50
  1269. data/fixtures/vcr_cassettes/test_examples/1000650.yml +0 -50
  1270. data/fixtures/vcr_cassettes/test_examples/1000651.yml +0 -50
  1271. data/fixtures/vcr_cassettes/test_examples/1000652.yml +0 -50
  1272. data/fixtures/vcr_cassettes/test_examples/1000653.yml +0 -50
  1273. data/fixtures/vcr_cassettes/test_examples/1000654.yml +0 -50
  1274. data/fixtures/vcr_cassettes/test_examples/1000655.yml +0 -50
  1275. data/fixtures/vcr_cassettes/test_examples/1000656.yml +0 -50
  1276. data/fixtures/vcr_cassettes/test_examples/1000657.yml +0 -50
  1277. data/fixtures/vcr_cassettes/test_examples/1000658.yml +0 -50
  1278. data/fixtures/vcr_cassettes/test_examples/1000659.yml +0 -50
  1279. data/fixtures/vcr_cassettes/test_examples/1000660.yml +0 -50
  1280. data/fixtures/vcr_cassettes/test_examples/1000661.yml +0 -50
  1281. data/fixtures/vcr_cassettes/test_examples/1000662.yml +0 -50
  1282. data/fixtures/vcr_cassettes/test_examples/1000663.yml +0 -50
  1283. data/fixtures/vcr_cassettes/test_examples/1000664.yml +0 -50
  1284. data/fixtures/vcr_cassettes/test_examples/1000665.yml +0 -50
  1285. data/fixtures/vcr_cassettes/test_examples/1000666.yml +0 -50
  1286. data/fixtures/vcr_cassettes/test_examples/1000667.yml +0 -50
  1287. data/fixtures/vcr_cassettes/test_examples/1000668.yml +0 -50
  1288. data/fixtures/vcr_cassettes/test_examples/1000669.yml +0 -50
  1289. data/fixtures/vcr_cassettes/test_examples/1000670.yml +0 -50
  1290. data/fixtures/vcr_cassettes/test_examples/1000671.yml +0 -50
  1291. data/fixtures/vcr_cassettes/test_examples/1000672.yml +0 -50
  1292. data/fixtures/vcr_cassettes/test_examples/1000673.yml +0 -50
  1293. data/fixtures/vcr_cassettes/test_examples/1000674.yml +0 -50
  1294. data/fixtures/vcr_cassettes/test_examples/1000675.yml +0 -50
  1295. data/fixtures/vcr_cassettes/test_examples/1000676.yml +0 -50
  1296. data/fixtures/vcr_cassettes/test_examples/1000677.yml +0 -50
  1297. data/fixtures/vcr_cassettes/test_examples/1000678.yml +0 -50
  1298. data/fixtures/vcr_cassettes/test_examples/1000679.yml +0 -50
  1299. data/fixtures/vcr_cassettes/test_examples/1000680.yml +0 -50
  1300. data/fixtures/vcr_cassettes/test_examples/1000681.yml +0 -50
  1301. data/fixtures/vcr_cassettes/test_examples/1000682.yml +0 -50
  1302. data/fixtures/vcr_cassettes/test_examples/1000683.yml +0 -50
  1303. data/fixtures/vcr_cassettes/test_examples/1000684.yml +0 -50
  1304. data/fixtures/vcr_cassettes/test_examples/1000685.yml +0 -50
  1305. data/fixtures/vcr_cassettes/test_examples/1000686.yml +0 -50
  1306. data/fixtures/vcr_cassettes/test_examples/1000687.yml +0 -50
  1307. data/fixtures/vcr_cassettes/test_examples/1000688.yml +0 -50
  1308. data/fixtures/vcr_cassettes/test_examples/1000689.yml +0 -50
  1309. data/fixtures/vcr_cassettes/test_examples/1000690.yml +0 -50
  1310. data/fixtures/vcr_cassettes/test_examples/1000691.yml +0 -50
  1311. data/fixtures/vcr_cassettes/test_examples/1000692.yml +0 -50
  1312. data/fixtures/vcr_cassettes/test_examples/1000693.yml +0 -50
  1313. data/fixtures/vcr_cassettes/test_examples/1000694.yml +0 -50
  1314. data/fixtures/vcr_cassettes/test_examples/1000695.yml +0 -50
  1315. data/fixtures/vcr_cassettes/test_examples/1000696.yml +0 -50
  1316. data/fixtures/vcr_cassettes/test_examples/1000697.yml +0 -50
  1317. data/fixtures/vcr_cassettes/test_examples/1000698.yml +0 -50
  1318. data/fixtures/vcr_cassettes/test_examples/1000699.yml +0 -50
  1319. data/fixtures/vcr_cassettes/test_examples/1000700.yml +0 -50
  1320. data/fixtures/vcr_cassettes/test_examples/1000701.yml +0 -50
  1321. data/fixtures/vcr_cassettes/test_examples/1000702.yml +0 -50
  1322. data/fixtures/vcr_cassettes/test_examples/1000703.yml +0 -50
  1323. data/fixtures/vcr_cassettes/test_examples/1000704.yml +0 -50
  1324. data/fixtures/vcr_cassettes/test_examples/1000705.yml +0 -50
  1325. data/fixtures/vcr_cassettes/test_examples/1000706.yml +0 -50
  1326. data/fixtures/vcr_cassettes/test_examples/1000707.yml +0 -50
  1327. data/fixtures/vcr_cassettes/test_examples/1000708.yml +0 -50
  1328. data/fixtures/vcr_cassettes/test_examples/1000709.yml +0 -50
  1329. data/fixtures/vcr_cassettes/test_examples/1000710.yml +0 -50
  1330. data/fixtures/vcr_cassettes/test_examples/1000711.yml +0 -50
  1331. data/fixtures/vcr_cassettes/test_examples/1000712.yml +0 -50
  1332. data/fixtures/vcr_cassettes/test_examples/1000713.yml +0 -50
  1333. data/fixtures/vcr_cassettes/test_examples/1000714.yml +0 -50
  1334. data/fixtures/vcr_cassettes/test_examples/1000715.yml +0 -50
  1335. data/fixtures/vcr_cassettes/test_examples/1000716.yml +0 -50
  1336. data/fixtures/vcr_cassettes/test_examples/1000717.yml +0 -50
  1337. data/fixtures/vcr_cassettes/test_examples/1000718.yml +0 -50
  1338. data/fixtures/vcr_cassettes/test_examples/1000719.yml +0 -50
  1339. data/fixtures/vcr_cassettes/test_examples/1000720.yml +0 -50
  1340. data/fixtures/vcr_cassettes/test_examples/1000721.yml +0 -50
  1341. data/fixtures/vcr_cassettes/test_examples/1000722.yml +0 -50
  1342. data/fixtures/vcr_cassettes/test_examples/1000723.yml +0 -50
  1343. data/fixtures/vcr_cassettes/test_examples/1000724.yml +0 -50
  1344. data/fixtures/vcr_cassettes/test_examples/1000725.yml +0 -50
  1345. data/fixtures/vcr_cassettes/test_examples/1000726.yml +0 -50
  1346. data/fixtures/vcr_cassettes/test_examples/1000727.yml +0 -50
  1347. data/fixtures/vcr_cassettes/test_examples/1000728.yml +0 -50
  1348. data/fixtures/vcr_cassettes/test_examples/1000729.yml +0 -50
  1349. data/fixtures/vcr_cassettes/test_examples/1000730.yml +0 -50
  1350. data/fixtures/vcr_cassettes/test_examples/1000731.yml +0 -50
  1351. data/fixtures/vcr_cassettes/test_examples/1000732.yml +0 -50
  1352. data/fixtures/vcr_cassettes/test_examples/1000733.yml +0 -50
  1353. data/fixtures/vcr_cassettes/test_examples/1000734.yml +0 -50
  1354. data/fixtures/vcr_cassettes/test_examples/1000735.yml +0 -50
  1355. data/fixtures/vcr_cassettes/test_examples/1000736.yml +0 -50
  1356. data/fixtures/vcr_cassettes/test_examples/1000737.yml +0 -50
  1357. data/fixtures/vcr_cassettes/test_examples/1000738.yml +0 -50
  1358. data/fixtures/vcr_cassettes/test_examples/1000739.yml +0 -50
  1359. data/fixtures/vcr_cassettes/test_examples/1000740.yml +0 -50
  1360. data/fixtures/vcr_cassettes/test_examples/1000741.yml +0 -50
  1361. data/fixtures/vcr_cassettes/test_examples/1000742.yml +0 -50
  1362. data/fixtures/vcr_cassettes/test_examples/1000743.yml +0 -50
  1363. data/fixtures/vcr_cassettes/test_examples/1000744.yml +0 -50
  1364. data/fixtures/vcr_cassettes/test_examples/1000745.yml +0 -50
  1365. data/fixtures/vcr_cassettes/test_examples/1000746.yml +0 -50
  1366. data/fixtures/vcr_cassettes/test_examples/1000747.yml +0 -50
  1367. data/fixtures/vcr_cassettes/test_examples/1000748.yml +0 -50
  1368. data/fixtures/vcr_cassettes/test_examples/1000749.yml +0 -50
  1369. data/fixtures/vcr_cassettes/test_examples/1000750.yml +0 -50
  1370. data/fixtures/vcr_cassettes/test_examples/1000751.yml +0 -50
  1371. data/fixtures/vcr_cassettes/test_examples/1000752.yml +0 -50
  1372. data/fixtures/vcr_cassettes/test_examples/1000753.yml +0 -50
  1373. data/fixtures/vcr_cassettes/test_examples/1000754.yml +0 -50
  1374. data/fixtures/vcr_cassettes/test_examples/1000755.yml +0 -50
  1375. data/fixtures/vcr_cassettes/test_examples/1000756.yml +0 -50
  1376. data/fixtures/vcr_cassettes/test_examples/1000757.yml +0 -50
  1377. data/fixtures/vcr_cassettes/test_examples/1000758.yml +0 -50
  1378. data/fixtures/vcr_cassettes/test_examples/1000759.yml +0 -50
  1379. data/fixtures/vcr_cassettes/test_examples/1000760.yml +0 -50
  1380. data/fixtures/vcr_cassettes/test_examples/1000761.yml +0 -50
  1381. data/fixtures/vcr_cassettes/test_examples/1000762.yml +0 -50
  1382. data/fixtures/vcr_cassettes/test_examples/1000763.yml +0 -50
  1383. data/fixtures/vcr_cassettes/test_examples/1000764.yml +0 -50
  1384. data/fixtures/vcr_cassettes/test_examples/1000765.yml +0 -50
  1385. data/fixtures/vcr_cassettes/test_examples/1000766.yml +0 -50
  1386. data/fixtures/vcr_cassettes/test_examples/1000767.yml +0 -50
  1387. data/fixtures/vcr_cassettes/test_examples/1000768.yml +0 -50
  1388. data/fixtures/vcr_cassettes/test_examples/1000769.yml +0 -50
  1389. data/fixtures/vcr_cassettes/test_examples/1000770.yml +0 -50
  1390. data/fixtures/vcr_cassettes/test_examples/1000771.yml +0 -50
  1391. data/fixtures/vcr_cassettes/test_examples/1000772.yml +0 -50
  1392. data/fixtures/vcr_cassettes/test_examples/1000773.yml +0 -50
  1393. data/fixtures/vcr_cassettes/test_examples/1000774.yml +0 -50
  1394. data/fixtures/vcr_cassettes/test_examples/1000775.yml +0 -50
  1395. data/fixtures/vcr_cassettes/test_examples/1000776.yml +0 -50
  1396. data/fixtures/vcr_cassettes/test_examples/1000777.yml +0 -50
  1397. data/fixtures/vcr_cassettes/test_examples/1000778.yml +0 -50
  1398. data/fixtures/vcr_cassettes/test_examples/1000779.yml +0 -50
  1399. data/fixtures/vcr_cassettes/test_examples/1000780.yml +0 -50
  1400. data/fixtures/vcr_cassettes/test_examples/1000781.yml +0 -50
  1401. data/fixtures/vcr_cassettes/test_examples/1000782.yml +0 -50
  1402. data/fixtures/vcr_cassettes/test_examples/1000783.yml +0 -50
  1403. data/fixtures/vcr_cassettes/test_examples/1000784.yml +0 -50
  1404. data/fixtures/vcr_cassettes/test_examples/1000785.yml +0 -50
  1405. data/fixtures/vcr_cassettes/test_examples/1000786.yml +0 -50
  1406. data/fixtures/vcr_cassettes/test_examples/1000787.yml +0 -50
  1407. data/fixtures/vcr_cassettes/test_examples/1000788.yml +0 -50
  1408. data/fixtures/vcr_cassettes/test_examples/1000789.yml +0 -50
  1409. data/fixtures/vcr_cassettes/test_examples/1000790.yml +0 -50
  1410. data/fixtures/vcr_cassettes/test_examples/1000791.yml +0 -50
  1411. data/fixtures/vcr_cassettes/test_examples/1000792.yml +0 -50
  1412. data/fixtures/vcr_cassettes/test_examples/1000793.yml +0 -50
  1413. data/fixtures/vcr_cassettes/test_examples/1000794.yml +0 -50
  1414. data/fixtures/vcr_cassettes/test_examples/1000795.yml +0 -50
  1415. data/fixtures/vcr_cassettes/test_examples/1000796.yml +0 -50
  1416. data/fixtures/vcr_cassettes/test_examples/1000797.yml +0 -50
  1417. data/fixtures/vcr_cassettes/test_examples/1000798.yml +0 -50
  1418. data/fixtures/vcr_cassettes/test_examples/1000799.yml +0 -50
  1419. data/fixtures/vcr_cassettes/test_examples/1000800.yml +0 -50
  1420. data/fixtures/vcr_cassettes/test_examples/1000801.yml +0 -50
  1421. data/fixtures/vcr_cassettes/test_examples/1000802.yml +0 -50
  1422. data/fixtures/vcr_cassettes/test_examples/1000803.yml +0 -50
  1423. data/fixtures/vcr_cassettes/test_examples/1000804.yml +0 -50
  1424. data/fixtures/vcr_cassettes/test_examples/1000805.yml +0 -50
  1425. data/fixtures/vcr_cassettes/test_examples/1000806.yml +0 -50
  1426. data/fixtures/vcr_cassettes/test_examples/1000807.yml +0 -50
  1427. data/fixtures/vcr_cassettes/test_examples/1000808.yml +0 -50
  1428. data/fixtures/vcr_cassettes/test_examples/1000809.yml +0 -50
  1429. data/fixtures/vcr_cassettes/test_examples/1000810.yml +0 -50
  1430. data/fixtures/vcr_cassettes/test_examples/1000811.yml +0 -50
  1431. data/fixtures/vcr_cassettes/test_examples/1000812.yml +0 -50
  1432. data/fixtures/vcr_cassettes/test_examples/1000813.yml +0 -50
  1433. data/fixtures/vcr_cassettes/test_examples/1000814.yml +0 -50
  1434. data/fixtures/vcr_cassettes/test_examples/1000815.yml +0 -50
  1435. data/fixtures/vcr_cassettes/test_examples/1000816.yml +0 -50
  1436. data/fixtures/vcr_cassettes/test_examples/1000817.yml +0 -50
  1437. data/fixtures/vcr_cassettes/test_examples/1000818.yml +0 -50
  1438. data/fixtures/vcr_cassettes/test_examples/1000819.yml +0 -50
  1439. data/fixtures/vcr_cassettes/test_examples/1000820.yml +0 -50
  1440. data/fixtures/vcr_cassettes/test_examples/1000821.yml +0 -50
  1441. data/fixtures/vcr_cassettes/test_examples/1000822.yml +0 -50
  1442. data/fixtures/vcr_cassettes/test_examples/1000823.yml +0 -50
  1443. data/fixtures/vcr_cassettes/test_examples/1000824.yml +0 -50
  1444. data/fixtures/vcr_cassettes/test_examples/1000825.yml +0 -50
  1445. data/fixtures/vcr_cassettes/test_examples/1000826.yml +0 -50
  1446. data/fixtures/vcr_cassettes/test_examples/1000827.yml +0 -50
  1447. data/fixtures/vcr_cassettes/test_examples/1000828.yml +0 -50
  1448. data/fixtures/vcr_cassettes/test_examples/1000829.yml +0 -50
  1449. data/fixtures/vcr_cassettes/test_examples/1000830.yml +0 -50
  1450. data/fixtures/vcr_cassettes/test_examples/1000831.yml +0 -50
  1451. data/fixtures/vcr_cassettes/test_examples/1000832.yml +0 -50
  1452. data/fixtures/vcr_cassettes/test_examples/1000833.yml +0 -50
  1453. data/fixtures/vcr_cassettes/test_examples/1000834.yml +0 -50
  1454. data/fixtures/vcr_cassettes/test_examples/1000835.yml +0 -50
  1455. data/fixtures/vcr_cassettes/test_examples/1000836.yml +0 -50
  1456. data/fixtures/vcr_cassettes/test_examples/1000837.yml +0 -50
  1457. data/fixtures/vcr_cassettes/test_examples/1000838.yml +0 -50
  1458. data/fixtures/vcr_cassettes/test_examples/1000839.yml +0 -50
  1459. data/fixtures/vcr_cassettes/test_examples/1000840.yml +0 -50
  1460. data/fixtures/vcr_cassettes/test_examples/1000841.yml +0 -50
  1461. data/fixtures/vcr_cassettes/test_examples/1000842.yml +0 -50
  1462. data/fixtures/vcr_cassettes/test_examples/1000843.yml +0 -50
  1463. data/fixtures/vcr_cassettes/test_examples/1000844.yml +0 -50
  1464. data/fixtures/vcr_cassettes/test_examples/1000845.yml +0 -50
  1465. data/fixtures/vcr_cassettes/test_examples/1000846.yml +0 -50
  1466. data/fixtures/vcr_cassettes/test_examples/1000847.yml +0 -50
  1467. data/fixtures/vcr_cassettes/test_examples/1000848.yml +0 -50
  1468. data/fixtures/vcr_cassettes/test_examples/1000849.yml +0 -50
  1469. data/fixtures/vcr_cassettes/test_examples/1000850.yml +0 -50
  1470. data/fixtures/vcr_cassettes/test_examples/1000851.yml +0 -50
  1471. data/fixtures/vcr_cassettes/test_examples/1000852.yml +0 -50
  1472. data/fixtures/vcr_cassettes/test_examples/1000853.yml +0 -50
  1473. data/fixtures/vcr_cassettes/test_examples/1000854.yml +0 -50
  1474. data/fixtures/vcr_cassettes/test_examples/1000855.yml +0 -50
  1475. data/fixtures/vcr_cassettes/test_examples/1000856.yml +0 -50
  1476. data/fixtures/vcr_cassettes/test_examples/1000857.yml +0 -50
  1477. data/fixtures/vcr_cassettes/test_examples/1000858.yml +0 -50
  1478. data/fixtures/vcr_cassettes/test_examples/1000859.yml +0 -50
  1479. data/fixtures/vcr_cassettes/test_examples/1000860.yml +0 -50
  1480. data/fixtures/vcr_cassettes/test_examples/1000861.yml +0 -50
  1481. data/fixtures/vcr_cassettes/test_examples/1000862.yml +0 -50
  1482. data/fixtures/vcr_cassettes/test_examples/1000863.yml +0 -50
  1483. data/fixtures/vcr_cassettes/test_examples/1000864.yml +0 -50
  1484. data/fixtures/vcr_cassettes/test_examples/1000865.yml +0 -50
  1485. data/fixtures/vcr_cassettes/test_examples/1000866.yml +0 -50
  1486. data/fixtures/vcr_cassettes/test_examples/1000867.yml +0 -50
  1487. data/fixtures/vcr_cassettes/test_examples/1000868.yml +0 -50
  1488. data/fixtures/vcr_cassettes/test_examples/1000869.yml +0 -50
  1489. data/fixtures/vcr_cassettes/test_examples/1000870.yml +0 -50
  1490. data/fixtures/vcr_cassettes/test_examples/1000871.yml +0 -50
  1491. data/fixtures/vcr_cassettes/test_examples/1000872.yml +0 -50
  1492. data/fixtures/vcr_cassettes/test_examples/1000873.yml +0 -50
  1493. data/fixtures/vcr_cassettes/test_examples/1000874.yml +0 -50
  1494. data/fixtures/vcr_cassettes/test_examples/1000875.yml +0 -50
  1495. data/fixtures/vcr_cassettes/test_examples/1000876.yml +0 -50
  1496. data/fixtures/vcr_cassettes/test_examples/1000877.yml +0 -50
  1497. data/fixtures/vcr_cassettes/test_examples/1000878.yml +0 -50
  1498. data/fixtures/vcr_cassettes/test_examples/1000879.yml +0 -50
  1499. data/fixtures/vcr_cassettes/test_examples/1000880.yml +0 -50
  1500. data/fixtures/vcr_cassettes/test_examples/1000881.yml +0 -50
  1501. data/fixtures/vcr_cassettes/test_examples/1000882.yml +0 -50
  1502. data/fixtures/vcr_cassettes/test_examples/1000883.yml +0 -50
  1503. data/fixtures/vcr_cassettes/test_examples/1000884.yml +0 -50
  1504. data/fixtures/vcr_cassettes/test_examples/1000885.yml +0 -50
  1505. data/fixtures/vcr_cassettes/test_examples/1000886.yml +0 -50
  1506. data/fixtures/vcr_cassettes/test_examples/1000887.yml +0 -50
  1507. data/fixtures/vcr_cassettes/test_examples/1000888.yml +0 -50
  1508. data/fixtures/vcr_cassettes/test_examples/1000889.yml +0 -50
  1509. data/fixtures/vcr_cassettes/test_examples/1000890.yml +0 -50
  1510. data/fixtures/vcr_cassettes/test_examples/1000891.yml +0 -50
  1511. data/fixtures/vcr_cassettes/test_examples/1000892.yml +0 -50
  1512. data/fixtures/vcr_cassettes/test_examples/1000893.yml +0 -50
  1513. data/fixtures/vcr_cassettes/test_examples/1000894.yml +0 -50
  1514. data/fixtures/vcr_cassettes/test_examples/1000895.yml +0 -50
  1515. data/fixtures/vcr_cassettes/test_examples/1000896.yml +0 -50
  1516. data/fixtures/vcr_cassettes/test_examples/1000897.yml +0 -50
  1517. data/fixtures/vcr_cassettes/test_examples/1000898.yml +0 -50
  1518. data/fixtures/vcr_cassettes/test_examples/1000899.yml +0 -50
  1519. data/fixtures/vcr_cassettes/test_examples/1000900.yml +0 -50
  1520. data/fixtures/vcr_cassettes/test_examples/1000901.yml +0 -50
  1521. data/fixtures/vcr_cassettes/test_examples/1000902.yml +0 -50
  1522. data/fixtures/vcr_cassettes/test_examples/1000903.yml +0 -50
  1523. data/fixtures/vcr_cassettes/test_examples/1000904.yml +0 -44
  1524. data/fixtures/vcr_cassettes/test_examples/1000905.yml +0 -44
  1525. data/fixtures/vcr_cassettes/test_examples/1000906.yml +0 -44
  1526. data/fixtures/vcr_cassettes/test_examples/1000907.yml +0 -44
  1527. data/fixtures/vcr_cassettes/test_examples/1000908.yml +0 -44
  1528. data/fixtures/vcr_cassettes/test_examples/1000909.yml +0 -44
  1529. data/fixtures/vcr_cassettes/test_examples/1000910.yml +0 -44
  1530. data/fixtures/vcr_cassettes/test_examples/1000911.yml +0 -44
  1531. data/fixtures/vcr_cassettes/test_examples/1000912.yml +0 -44
  1532. data/fixtures/vcr_cassettes/test_examples/1000913.yml +0 -44
  1533. data/fixtures/vcr_cassettes/test_examples/1000914.yml +0 -44
  1534. data/fixtures/vcr_cassettes/test_examples/1000915.yml +0 -44
  1535. data/fixtures/vcr_cassettes/test_examples/1000916.yml +0 -44
  1536. data/fixtures/vcr_cassettes/test_examples/1000917.yml +0 -44
  1537. data/fixtures/vcr_cassettes/test_examples/1000918.yml +0 -44
  1538. data/fixtures/vcr_cassettes/test_examples/1000919.yml +0 -44
  1539. data/fixtures/vcr_cassettes/test_examples/1000920.yml +0 -44
  1540. data/fixtures/vcr_cassettes/test_examples/1000921.yml +0 -44
  1541. data/fixtures/vcr_cassettes/test_examples/1000922.yml +0 -44
  1542. data/fixtures/vcr_cassettes/test_examples/1000923.yml +0 -44
  1543. data/fixtures/vcr_cassettes/test_examples/1000924.yml +0 -44
  1544. data/fixtures/vcr_cassettes/test_examples/1000925.yml +0 -44
  1545. data/fixtures/vcr_cassettes/test_examples/1000926.yml +0 -44
  1546. data/fixtures/vcr_cassettes/test_examples/1000927.yml +0 -44
  1547. data/fixtures/vcr_cassettes/test_examples/1000928.yml +0 -44
  1548. data/fixtures/vcr_cassettes/test_examples/1000929.yml +0 -44
  1549. data/fixtures/vcr_cassettes/test_examples/1000930.yml +0 -44
  1550. data/fixtures/vcr_cassettes/test_examples/1000931.yml +0 -44
  1551. data/fixtures/vcr_cassettes/test_examples/1000932.yml +0 -44
  1552. data/fixtures/vcr_cassettes/test_examples/1000933.yml +0 -44
  1553. data/fixtures/vcr_cassettes/test_examples/1000934.yml +0 -44
  1554. data/fixtures/vcr_cassettes/test_examples/1000935.yml +0 -44
  1555. data/fixtures/vcr_cassettes/test_examples/1000936.yml +0 -44
  1556. data/fixtures/vcr_cassettes/test_examples/1000937.yml +0 -44
  1557. data/fixtures/vcr_cassettes/test_examples/1000938.yml +0 -44
  1558. data/fixtures/vcr_cassettes/test_examples/1000939.yml +0 -44
  1559. data/fixtures/vcr_cassettes/test_examples/1000940.yml +0 -44
  1560. data/fixtures/vcr_cassettes/test_examples/1000941.yml +0 -44
  1561. data/fixtures/vcr_cassettes/test_examples/1000942.yml +0 -44
  1562. data/fixtures/vcr_cassettes/test_examples/1000943.yml +0 -44
  1563. data/fixtures/vcr_cassettes/test_examples/1000944.yml +0 -46
  1564. data/fixtures/vcr_cassettes/test_examples/1000945.yml +0 -46
  1565. data/fixtures/vcr_cassettes/test_examples/1000946.yml +0 -46
  1566. data/fixtures/vcr_cassettes/test_examples/1000947.yml +0 -46
  1567. data/fixtures/vcr_cassettes/test_examples/1000948.yml +0 -46
  1568. data/fixtures/vcr_cassettes/test_examples/1000949.yml +0 -46
  1569. data/fixtures/vcr_cassettes/test_examples/1000950.yml +0 -46
  1570. data/fixtures/vcr_cassettes/test_examples/1000951.yml +0 -46
  1571. data/fixtures/vcr_cassettes/test_examples/1000952.yml +0 -46
  1572. data/fixtures/vcr_cassettes/test_examples/1000953.yml +0 -46
  1573. data/fixtures/vcr_cassettes/test_examples/1000954.yml +0 -46
  1574. data/fixtures/vcr_cassettes/test_examples/1000955.yml +0 -46
  1575. data/fixtures/vcr_cassettes/test_examples/1000956.yml +0 -46
  1576. data/fixtures/vcr_cassettes/test_examples/1000957.yml +0 -46
  1577. data/fixtures/vcr_cassettes/test_examples/1000958.yml +0 -46
  1578. data/fixtures/vcr_cassettes/test_examples/1000959.yml +0 -46
  1579. data/fixtures/vcr_cassettes/test_examples/1000960.yml +0 -46
  1580. data/fixtures/vcr_cassettes/test_examples/1000961.yml +0 -46
  1581. data/fixtures/vcr_cassettes/test_examples/1000962.yml +0 -46
  1582. data/fixtures/vcr_cassettes/test_examples/1000963.yml +0 -46
  1583. data/fixtures/vcr_cassettes/test_examples/1000964.yml +0 -46
  1584. data/fixtures/vcr_cassettes/test_examples/1000965.yml +0 -46
  1585. data/fixtures/vcr_cassettes/test_examples/1000966.yml +0 -46
  1586. data/fixtures/vcr_cassettes/test_examples/1000967.yml +0 -46
  1587. data/fixtures/vcr_cassettes/test_examples/1000968.yml +0 -46
  1588. data/fixtures/vcr_cassettes/test_examples/1000969.yml +0 -46
  1589. data/fixtures/vcr_cassettes/test_examples/1000970.yml +0 -46
  1590. data/fixtures/vcr_cassettes/test_examples/1000971.yml +0 -46
  1591. data/fixtures/vcr_cassettes/test_examples/1000972.yml +0 -46
  1592. data/fixtures/vcr_cassettes/test_examples/1000973.yml +0 -46
  1593. data/fixtures/vcr_cassettes/test_examples/1000974.yml +0 -46
  1594. data/fixtures/vcr_cassettes/test_examples/1000975.yml +0 -46
  1595. data/fixtures/vcr_cassettes/test_examples/1000976.yml +0 -46
  1596. data/fixtures/vcr_cassettes/test_examples/1000977.yml +0 -46
  1597. data/fixtures/vcr_cassettes/test_examples/1000978.yml +0 -46
  1598. data/fixtures/vcr_cassettes/test_examples/1000979.yml +0 -46
  1599. data/fixtures/vcr_cassettes/test_examples/1000980.yml +0 -46
  1600. data/fixtures/vcr_cassettes/test_examples/1000981.yml +0 -46
  1601. data/fixtures/vcr_cassettes/test_examples/1000982.yml +0 -46
  1602. data/fixtures/vcr_cassettes/test_examples/1000983.yml +0 -46
  1603. data/fixtures/vcr_cassettes/test_examples/1000984.yml +0 -46
  1604. data/fixtures/vcr_cassettes/test_examples/1000985.yml +0 -46
  1605. data/fixtures/vcr_cassettes/test_examples/1000986.yml +0 -46
  1606. data/fixtures/vcr_cassettes/test_examples/1000987.yml +0 -46
  1607. data/fixtures/vcr_cassettes/test_examples/1000988.yml +0 -46
  1608. data/fixtures/vcr_cassettes/test_examples/1000989.yml +0 -46
  1609. data/fixtures/vcr_cassettes/test_examples/1000990.yml +0 -46
  1610. data/fixtures/vcr_cassettes/test_examples/1000991.yml +0 -46
  1611. data/fixtures/vcr_cassettes/test_examples/1000992.yml +0 -46
  1612. data/fixtures/vcr_cassettes/test_examples/1000993.yml +0 -46
  1613. data/fixtures/vcr_cassettes/test_examples/1000994.yml +0 -46
  1614. data/fixtures/vcr_cassettes/test_examples/1000995.yml +0 -46
  1615. data/fixtures/vcr_cassettes/test_examples/1000996.yml +0 -46
  1616. data/fixtures/vcr_cassettes/test_examples/1000997.yml +0 -46
  1617. data/fixtures/vcr_cassettes/test_examples/1000998.yml +0 -46
  1618. data/fixtures/vcr_cassettes/test_examples/1000999.yml +0 -46
  1619. data/fixtures/vcr_cassettes/test_examples/1001000.yml +0 -46
  1620. data/fixtures/vcr_cassettes/test_examples/1001001.yml +0 -46
  1621. data/fixtures/vcr_cassettes/test_examples/1001002.yml +0 -46
  1622. data/fixtures/vcr_cassettes/test_examples/1001003.yml +0 -46
  1623. data/fixtures/vcr_cassettes/test_examples/1001004.yml +0 -46
  1624. data/fixtures/vcr_cassettes/test_examples/1001005.yml +0 -46
  1625. data/fixtures/vcr_cassettes/test_examples/1001006.yml +0 -46
  1626. data/fixtures/vcr_cassettes/test_examples/1001007.yml +0 -46
  1627. data/fixtures/vcr_cassettes/test_examples/1001008.yml +0 -46
  1628. data/fixtures/vcr_cassettes/test_examples/1001009.yml +0 -46
  1629. data/fixtures/vcr_cassettes/test_examples/1001010.yml +0 -46
  1630. data/fixtures/vcr_cassettes/test_examples/1001011.yml +0 -46
  1631. data/fixtures/vcr_cassettes/test_examples/1001012.yml +0 -46
  1632. data/fixtures/vcr_cassettes/test_examples/1001013.yml +0 -46
  1633. data/fixtures/vcr_cassettes/test_examples/1001014.yml +0 -46
  1634. data/fixtures/vcr_cassettes/test_examples/1001015.yml +0 -46
  1635. data/fixtures/vcr_cassettes/test_examples/1001016.yml +0 -46
  1636. data/fixtures/vcr_cassettes/test_examples/1001017.yml +0 -46
  1637. data/fixtures/vcr_cassettes/test_examples/1001018.yml +0 -46
  1638. data/fixtures/vcr_cassettes/test_examples/1001019.yml +0 -46
  1639. data/fixtures/vcr_cassettes/test_examples/1001020.yml +0 -46
  1640. data/fixtures/vcr_cassettes/test_examples/1001021.yml +0 -46
  1641. data/fixtures/vcr_cassettes/test_examples/1001022.yml +0 -46
  1642. data/fixtures/vcr_cassettes/test_examples/1001023.yml +0 -46
  1643. data/fixtures/vcr_cassettes/test_examples/1001024.yml +0 -46
  1644. data/fixtures/vcr_cassettes/test_examples/1001025.yml +0 -46
  1645. data/fixtures/vcr_cassettes/test_examples/1001026.yml +0 -46
  1646. data/fixtures/vcr_cassettes/test_examples/1001027.yml +0 -46
  1647. data/fixtures/vcr_cassettes/test_examples/1001028.yml +0 -46
  1648. data/fixtures/vcr_cassettes/test_examples/1001029.yml +0 -46
  1649. data/fixtures/vcr_cassettes/test_examples/1001030.yml +0 -46
  1650. data/fixtures/vcr_cassettes/test_examples/1001031.yml +0 -46
  1651. data/fixtures/vcr_cassettes/test_examples/1001032.yml +0 -46
  1652. data/fixtures/vcr_cassettes/test_examples/1001033.yml +0 -46
  1653. data/fixtures/vcr_cassettes/test_examples/1001034.yml +0 -46
  1654. data/fixtures/vcr_cassettes/test_examples/1001035.yml +0 -46
  1655. data/fixtures/vcr_cassettes/test_examples/1001036.yml +0 -46
  1656. data/fixtures/vcr_cassettes/test_examples/1001037.yml +0 -46
  1657. data/fixtures/vcr_cassettes/test_examples/1001038.yml +0 -46
  1658. data/fixtures/vcr_cassettes/test_examples/1001039.yml +0 -46
  1659. data/fixtures/vcr_cassettes/test_examples/1001040.yml +0 -46
  1660. data/fixtures/vcr_cassettes/test_examples/1001041.yml +0 -46
  1661. data/fixtures/vcr_cassettes/test_examples/1001042.yml +0 -46
  1662. data/fixtures/vcr_cassettes/test_examples/1001043.yml +0 -46
  1663. data/fixtures/vcr_cassettes/test_examples/1001044.yml +0 -46
  1664. data/fixtures/vcr_cassettes/test_examples/1001045.yml +0 -46
  1665. data/fixtures/vcr_cassettes/test_examples/1001046.yml +0 -46
  1666. data/fixtures/vcr_cassettes/test_examples/1001047.yml +0 -46
  1667. data/fixtures/vcr_cassettes/test_examples/1001048.yml +0 -46
  1668. data/fixtures/vcr_cassettes/test_examples/1001049.yml +0 -46
  1669. data/fixtures/vcr_cassettes/test_examples/1001050.yml +0 -46
  1670. data/fixtures/vcr_cassettes/test_examples/1001051.yml +0 -46
  1671. data/fixtures/vcr_cassettes/test_examples/1001052.yml +0 -51
  1672. data/fixtures/vcr_cassettes/test_examples/1001053.yml +0 -51
  1673. data/fixtures/vcr_cassettes/test_examples/1001054.yml +0 -51
  1674. data/fixtures/vcr_cassettes/test_examples/1001055.yml +0 -51
  1675. data/fixtures/vcr_cassettes/test_examples/1001056.yml +0 -51
  1676. data/fixtures/vcr_cassettes/test_examples/1001057.yml +0 -51
  1677. data/fixtures/vcr_cassettes/test_examples/1001058.yml +0 -51
  1678. data/fixtures/vcr_cassettes/test_examples/1001059.yml +0 -51
  1679. data/fixtures/vcr_cassettes/test_examples/1001060.yml +0 -51
  1680. data/fixtures/vcr_cassettes/test_examples/1001061.yml +0 -51
  1681. data/fixtures/vcr_cassettes/test_examples/1001062.yml +0 -51
  1682. data/fixtures/vcr_cassettes/test_examples/1001063.yml +0 -51
  1683. data/fixtures/vcr_cassettes/test_examples/1001064.yml +0 -51
  1684. data/fixtures/vcr_cassettes/test_examples/1001065.yml +0 -51
  1685. data/fixtures/vcr_cassettes/test_examples/1001066.yml +0 -51
  1686. data/fixtures/vcr_cassettes/test_examples/1001067.yml +0 -51
  1687. data/fixtures/vcr_cassettes/test_examples/1001068.yml +0 -51
  1688. data/fixtures/vcr_cassettes/test_examples/1001069.yml +0 -51
  1689. data/fixtures/vcr_cassettes/test_examples/1001070.yml +0 -51
  1690. data/fixtures/vcr_cassettes/test_examples/1001071.yml +0 -51
  1691. data/fixtures/vcr_cassettes/test_examples/1001072.yml +0 -51
  1692. data/fixtures/vcr_cassettes/test_examples/1001073.yml +0 -51
  1693. data/fixtures/vcr_cassettes/test_examples/1001074.yml +0 -51
  1694. data/fixtures/vcr_cassettes/test_examples/1001075.yml +0 -51
  1695. data/fixtures/vcr_cassettes/test_examples/1001076.yml +0 -44
  1696. data/fixtures/vcr_cassettes/test_examples/1001077.yml +0 -44
  1697. data/fixtures/vcr_cassettes/test_examples/1001078.yml +0 -44
  1698. data/fixtures/vcr_cassettes/test_examples/1001079.yml +0 -44
  1699. data/fixtures/vcr_cassettes/test_examples/1001080.yml +0 -51
  1700. data/fixtures/vcr_cassettes/test_examples/1001081.yml +0 -51
  1701. data/fixtures/vcr_cassettes/test_examples/1001082.yml +0 -51
  1702. data/fixtures/vcr_cassettes/test_examples/1001083.yml +0 -51
  1703. data/fixtures/vcr_cassettes/test_examples/1001084.yml +0 -51
  1704. data/fixtures/vcr_cassettes/test_examples/1001085.yml +0 -51
  1705. data/fixtures/vcr_cassettes/test_examples/1001086.yml +0 -51
  1706. data/fixtures/vcr_cassettes/test_examples/1001087.yml +0 -51
  1707. data/fixtures/vcr_cassettes/wc-sub-ssl-false-1.yml +0 -126
  1708. data/fixtures/vcr_cassettes/wc-sub-ssl-false-2.yml +0 -86
  1709. data/fixtures/vcr_cassettes/wc-sub-ssl-false-3.yml +0 -212
  1710. data/fixtures/vcr_cassettes/wc-sub-ssl-false-4.yml +0 -208
  1711. data/fixtures/vcr_cassettes/wc-sub-ssl-true-1.yml +0 -126
  1712. data/fixtures/vcr_cassettes/wc-sub-ssl-true-2.yml +0 -86
  1713. data/fixtures/vcr_cassettes/wc-sub-ssl-true-3.yml +0 -212
  1714. data/fixtures/vcr_cassettes/wc-sub-ssl-true-4.yml +0 -168
  1715. data/spec/examples/audit_examples_spec.rb +0 -253
  1716. data/spec/examples/channel_registration_examples_spec.rb +0 -933
  1717. data/spec/examples/generator.rb +0 -299
  1718. data/spec/examples/grant_examples_spec.rb +0 -1009
  1719. data/spec/examples/here_now_examples_spec.rb +0 -133
  1720. data/spec/examples/history_examples_spec.rb +0 -4573
  1721. data/spec/examples/publish_examples_spec.rb +0 -357
  1722. data/spec/examples/revoke_examples_spec.rb +0 -1009
  1723. data/spec/examples/state_examples_spec.rb +0 -229
  1724. data/spec/examples/time_examples_spec.rb +0 -69
  1725. data/spec/examples/where_now_examples_spec.rb +0 -101
  1726. data/spec/integration/audit_spec.rb +0 -307
  1727. data/spec/integration/channel_groups_spec.rb +0 -120
  1728. data/spec/integration/channel_registration_spec.rb +0 -323
  1729. data/spec/integration/global_here_now_spec.rb +0 -301
  1730. data/spec/integration/grant_spec.rb +0 -342
  1731. data/spec/integration/here_now_spec.rb +0 -302
  1732. data/spec/integration/history_spec.rb +0 -321
  1733. data/spec/integration/leave_spec.rb +0 -300
  1734. data/spec/integration/presence_spec.rb +0 -317
  1735. data/spec/integration/publish_spec.rb +0 -1164
  1736. data/spec/integration/revoke_spec.rb +0 -318
  1737. data/spec/integration/state_spec.rb +0 -87
  1738. data/spec/integration/subscribe_spec.rb +0 -323
  1739. data/spec/integration/time_spec.rb +0 -300
  1740. data/spec/integration/v3_presence_spec.rb +0 -316
  1741. data/spec/integration/where_now_spec.rb +0 -170
  1742. data/spec/integration/wildcard_subscribe_spec.rb +0 -139
  1743. data/spec/lib/error_spec.rb +0 -277
  1744. data/spec/lib/events/validators_spec.rb +0 -25
data/doc/file_list.html DELETED
@@ -1,60 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html>
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
-
7
- <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
8
-
9
- <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
10
-
11
-
12
-
13
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
14
-
15
- <script type="text/javascript" charset="utf-8" src="js/full_list.js"></script>
16
-
17
-
18
- <title>File List</title>
19
- <base id="base_target" target="_parent" />
20
- </head>
21
- <body>
22
- <script type="text/javascript" charset="utf-8">
23
- var hasFrames = false;
24
- try {
25
- hasFrames = window.top.frames.main ? true : false;
26
- } catch (e) { }
27
- if (hasFrames) {
28
- document.getElementById('base_target').target = 'main';
29
- document.body.className = 'frames';
30
- }
31
- </script>
32
- <div id="content">
33
- <h1 id="full_list_header">File List</h1>
34
- <div id="nav">
35
-
36
- <span><a target="_self" href="class_list.html">
37
- Classes
38
- </a></span>
39
-
40
- <span><a target="_self" href="method_list.html">
41
- Methods
42
- </a></span>
43
-
44
- <span><a target="_self" href="file_list.html">
45
- Files
46
- </a></span>
47
-
48
- </div>
49
- <div id="search">Search: <input type="text" /></div>
50
-
51
- <ul id="full_list" class="file">
52
-
53
-
54
- <li class="r1"><span class="object_link"><a href="index.html" title="README">README</a></a></li>
55
-
56
-
57
- </ul>
58
- </div>
59
- </body>
60
- </html>
data/doc/frames.html DELETED
@@ -1,26 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
3
-
4
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
- <head>
6
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
7
- <title>Documentation by YARD 0.8.7.6</title>
8
- </head>
9
- <script type="text/javascript" charset="utf-8">
10
- window.onload = function() {
11
- var match = unescape(window.location.hash).match(/^#!(.+)/);
12
- var name = match ? match[1] : 'index.html';
13
- name = name.replace(/^(\w+):\/\//, '').replace(/^\/\//, '');
14
- document.writeln('<frameset cols="20%,*">' +
15
- '<frame name="list" src="class_list.html" />' +
16
- '<frame name="main" src="' + escape(name) + '" />' +
17
- '</frameset>');
18
- }
19
- </script>
20
- <noscript>
21
- <frameset cols="20%,*">
22
- <frame name="list" src="class_list.html" />
23
- <frame name="main" src="index.html" />
24
- </frameset>
25
- </noscript>
26
- </html>
data/doc/index.html DELETED
@@ -1,772 +0,0 @@
1
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
- <title>
7
- File: README
8
-
9
- &mdash; Documentation by YARD 0.8.7.6
10
-
11
- </title>
12
-
13
- <link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
14
-
15
- <link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
16
-
17
- <script type="text/javascript" charset="utf-8">
18
- hasFrames = window.top.frames.main ? true : false;
19
- relpath = '';
20
- framesUrl = "frames.html#!file.README.html";
21
- </script>
22
-
23
-
24
- <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
25
-
26
- <script type="text/javascript" charset="utf-8" src="js/app.js"></script>
27
-
28
-
29
- </head>
30
- <body>
31
- <div id="header">
32
- <div id="menu">
33
-
34
- <a href="_index.html">Index</a> &raquo;
35
- <span class="title">File: README</span>
36
-
37
-
38
- <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
39
- </div>
40
-
41
- <div id="search">
42
-
43
- <a class="full_list_link" id="class_list_link"
44
- href="class_list.html">
45
- Class List
46
- </a>
47
-
48
- <a class="full_list_link" id="method_list_link"
49
- href="method_list.html">
50
- Method List
51
- </a>
52
-
53
- <a class="full_list_link" id="file_list_link"
54
- href="file_list.html">
55
- File List
56
- </a>
57
-
58
- </div>
59
- <div class="clear"></div>
60
- </div>
61
-
62
- <iframe id="search_frame"></iframe>
63
-
64
- <div id="content"><div id='filecontents'><h1>Please direct all Support Questions and Concerns to <a href="mailto:Support@PubNub.com">Support@PubNub.com</a></h1>
65
-
66
- <h2>PubNub Gem version 4.0.0beta</h2>
67
-
68
- <h5>YOU MUST HAVE A PUBNUB ACCOUNT TO USE THE API.</h5>
69
-
70
- <h5><a href="http://www.pubnub.com/account">http://www.pubnub.com/account</a></h5>
71
-
72
- <p><a href="http://www.pubnub.com">www.pubnub.com</a> - PubNub Real-time Push Service in the Cloud.</p>
73
-
74
- <p>The PubNub Network is a blazingly fast Global Messaging Service for building real-time web and mobile apps. Thousands of apps and developers rely on PubNub for delivering human-perceptive real-time experiences that scale to millions of users worldwide. PubNub delivers the infrastructure needed to build amazing Mobile, MMO games, social apps, business collaborative solutions, and more.</p>
75
-
76
- <h3>Upgrading from PubNub 3.6.x / 3.7.x</h3>
77
-
78
- <p>Main change is that we&#39;re no longer using EventMachine. Right now Celluloid is used.</p>
79
-
80
- <h3>Upgrading from PubNub 3.5.x</h3>
81
-
82
- <p>We&#39;ve made the response format compatible across all operations. This may break existing parsing of whereNow, leave, state, and PAM responses. So if you are monitoring these operation responses, please be sure to modify your code accordingly.</p>
83
-
84
- <p>Examples of affected operations can be found <a href="3.5_to_3.6_upgrade_notes.md">here</a>.</p>
85
-
86
- <h3>Upgrading from PubNub 3.3.x and Earlier</h3>
87
-
88
- <p>PubNub 3.7.3 is NOT compatible with earlier than 3.4 versions of Pubnub Ruby Client.</p>
89
-
90
- <h3>Upgrading from PubNub 3.4 and higher versions</h3>
91
-
92
- <p>PubNub 3.7.3 is compatible with 3.4 version.</p>
93
-
94
- <h2>Important Notice about Blocking vs Non-Blocking Calls</h2>
95
-
96
- <h4>Asynchronous vs Synchronous Requests</h4>
97
-
98
- <p>Every operation is by default asynchronous. Asynchronous operations will not block your main thread and will be fired within a new thread.</p>
99
-
100
- <p>This can cause issues under certain situations, depending on your implementation. To work around this, you can force an operation to run synchronously (block) via the :http_sync option:</p>
101
-
102
- <pre class="code ruby"><code class="ruby">:http_sync =&gt; true
103
- </code></pre>
104
-
105
- <p>Unless otherwise specified, this option is default implied false (all calls by default will be async).</p>
106
-
107
- <h4>Message Handling: callback, block, return</h4>
108
-
109
- <p>Results are provided via block, callback, and return, depending on how you structure the call. Callback will be fired for every message that will event get in response. Synchronous events will return array of envelopes (if you passed callback to sychronous event it will be called too!).</p>
110
-
111
- <h3>Code Examples</h3>
112
-
113
- <h4>Require</h4>
114
-
115
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_require'>require</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>pubnub</span><span class='tstring_end'>&#39;</span></span>
116
- </code></pre>
117
-
118
- <h4>Init and instantiate a new PubNub instance</h4>
119
-
120
- <pre class="code ruby"><code class="ruby"><span class='comment'># If you wish to override the default logger, create one and pass it in.
121
- </span><span class='comment'># Default logger writes into pubnub.log file
122
- </span>
123
- <span class='id identifier rubyid_my_logger'>my_logger</span> <span class='op'>=</span> <span class='const'>Logger</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='const'>STDOUT</span><span class='rparen'>)</span>
124
-
125
- <span class='id identifier rubyid_pubnub'>pubnub</span> <span class='op'>=</span> <span class='const'>Pubnub</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
126
- <span class='symbol'>:subscribe_key</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>demo</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
127
- <span class='symbol'>:publish_key</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>demo</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
128
- <span class='symbol'>:error_callback</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_lambda'>lambda</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_msg'>msg</span><span class='op'>|</span>
129
- <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Error callback says: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_msg'>msg</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
130
- <span class='rbrace'>}</span><span class='comma'>,</span>
131
- <span class='symbol'>:connect_callback</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_lambda'>lambda</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_msg'>msg</span><span class='op'>|</span>
132
- <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>CONNECTED: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_msg'>msg</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
133
- <span class='rbrace'>}</span><span class='comma'>,</span>
134
- <span class='symbol'>:logger</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_my_logger'>my_logger</span>
135
- <span class='rparen'>)</span>
136
- </code></pre>
137
-
138
- <ul>
139
- <li>subscribe_key is your subscribe key</li>
140
- <li>publish_key is your publish key</li>
141
- <li>origin is your custom, PubNub origin (Contact support before production to get your own!)</li>
142
- <li>error_callback is the callback for errors</li>
143
- <li>connect_callback is the callback that lets you know when you&#39;re connected to the origin</li>
144
- </ul>
145
-
146
- <h4>Making PubNub calls</h4>
147
-
148
- <p>There are a few different ways to make any given PubNub call. How to do it depends first on whether or not you want the call to be blocking (synchronous), or not blocking (asynchronous).</p>
149
-
150
- <h5>Asynchronous (non-blocking) calling</h5>
151
-
152
- <p>If you wish to make asyncronous calls (implemented via EventMachine), you have a few different patterns you can follow:</p>
153
-
154
- <pre class="code ruby"><code class="ruby"><span class='comment'># Lets use a callback for the first example...
155
- </span><span class='id identifier rubyid_cb'>cb</span> <span class='op'>=</span> <span class='id identifier rubyid_lambda'>lambda</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span> <span class='rbrace'>}</span>
156
-
157
- <span class='comment'># Asynchronous is implicitly enabled by default, if you do not provide an :http_sync option
158
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_publish'>publish</span><span class='lparen'>(</span><span class='symbol'>:message</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_msg'>msg</span><span class='comma'>,</span> <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_channel'>channel</span><span class='comma'>,</span> <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_cb'>cb</span><span class='rparen'>)</span>
159
-
160
- <span class='comment'># You can also explicitly request async with :http_sync =&gt; false
161
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_publish'>publish</span><span class='lparen'>(</span><span class='symbol'>:message</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_msg'>msg</span><span class='comma'>,</span> <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_channel'>channel</span><span class='comma'>,</span> <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_cb'>cb</span><span class='comma'>,</span> <span class='symbol'>:http_sync</span> <span class='op'>=&gt;</span> <span class='kw'>false</span><span class='rparen'>)</span>
162
-
163
- <span class='comment'># Alternatively, you can pass in the callback as a block
164
- </span>
165
- <span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_publish'>publish</span><span class='lparen'>(</span><span class='symbol'>:message</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_msg'>msg</span><span class='comma'>,</span> <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_channel'>channel</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_cb'>cb</span><span class='rparen'>)</span>
166
-
167
- <span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_publish'>publish</span><span class='lparen'>(</span><span class='symbol'>:message</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_msg'>msg</span><span class='comma'>,</span> <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_channel'>channel</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
168
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
169
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_channel'>channel</span>
170
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_status_code'>status_code</span>
171
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_timetoken'>timetoken</span>
172
- <span class='kw'>end</span>
173
- </code></pre>
174
-
175
- <h5>Synchronous (blocking) calling</h5>
176
-
177
- <p>If you&#39;d prefer to make your calls blocking, set :http_sync =&gt; true. Again, there is a bit of flexibility in how this can be done:</p>
178
-
179
- <pre class="code ruby"><code class="ruby">
180
- <span class='comment'># Lets use a callback for the first example...
181
- </span><span class='id identifier rubyid_cb'>cb</span> <span class='op'>=</span> <span class='id identifier rubyid_lambda'>lambda</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span> <span class='rbrace'>}</span>
182
-
183
- <span class='comment'># Sync (blocking) with a callback (if you wanted to)
184
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_publish'>publish</span><span class='lparen'>(</span><span class='symbol'>:http_sync</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:message</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_msg'>msg</span><span class='comma'>,</span> <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_channel'>channel</span><span class='comma'>,</span> <span class='op'>&amp;</span><span class='id identifier rubyid_cb'>cb</span><span class='rparen'>)</span>
185
-
186
- <span class='comment'># Sync (blocking), with assignment via return
187
- </span><span class='id identifier rubyid_myResponse'>myResponse</span> <span class='op'>=</span> <span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_publish'>publish</span><span class='lparen'>(</span><span class='symbol'>:http_sync</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:message</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_msg'>msg</span><span class='comma'>,</span> <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_channel'>channel</span><span class='rparen'>)</span>
188
- <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>myR: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_myResponse'>myResponse</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
189
-
190
- <span class='comment'># Sync (blocking), with a block
191
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_publish'>publish</span><span class='lparen'>(</span><span class='symbol'>:http_sync</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:message</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_msg'>msg</span><span class='comma'>,</span> <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_channel'>channel</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
192
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
193
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_channel'>channel</span>
194
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_status_code'>status_code</span>
195
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_timetoken'>timetoken</span>
196
- <span class='kw'>end</span>
197
- </code></pre>
198
-
199
- <h4>Callback / Block calling sequence</h4>
200
-
201
- <p>When you receive messages asynchronously from PubNub, your block or callback will be called once for each message received. For example, if you are subscribed to a channel using the callback pattern, and you receive 3 messages from your call, the callback will be called 3 times, 1 time for each unique received message.</p>
202
-
203
- <p>Conceptually, the callback or block is fired once for each message in the raw server response:</p>
204
-
205
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_envelopes'>envelopes</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
206
- <span class='id identifier rubyid_callback'>callback</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span> <span class='id identifier rubyid_envelope'>envelope</span>
207
- <span class='kw'>end</span>
208
- </code></pre>
209
-
210
- <h4>The Envelope Object</h4>
211
-
212
- <p>The callback (or block) will receive the message(s) in the form of an envelope hash. An envelope will contain the following keys:</p>
213
-
214
- <ul>
215
- <li>message (aliased as &#39;msg&#39;) -&gt; Holds message, if publish, holds published message</li>
216
- <li>response_message -&gt; as above, except for publish - holds server response (String &quot;Send&quot;)</li>
217
- <li>channel -&gt; Holds channel for current message</li>
218
- <li>timetoken -&gt; Timetoken of server response</li>
219
- <li>status (aliased as &#39;status_code&#39;) -&gt; Server response status code</li>
220
- <li>response -&gt; Whole and unmodified server response</li>
221
- <li>first -&gt; true if it&#39;s first envelope in single response messages array</li>
222
- <li>last -&gt; true if it&#39;s last envelope in single response messages array</li>
223
- <li>And a bit more, specific to some events, you will find it in description of certain events</li>
224
- </ul>
225
-
226
- <p>Don&#39;t confuse the <strong>message</strong> with the <strong>response</strong>. In a given callback cycle, the <strong>response</strong> will always be the same, as its the raw server response. It may consist of one or more messages.</p>
227
-
228
- <p>Internally, the block or callback iterates over the response array, similar to:</p>
229
-
230
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_envelopes'>envelopes</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
231
- <span class='id identifier rubyid_callback'>callback</span><span class='period'>.</span><span class='id identifier rubyid_call'>call</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
232
- <span class='kw'>end</span>
233
- </code></pre>
234
-
235
- <p>In a given callback cycle, the <strong>envelope</strong> will be the current element of the response array.</p>
236
-
237
- <h3>Simple Usage Examples</h3>
238
-
239
- <h4>Init and instantiate a new PubNub instance</h4>
240
-
241
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span> <span class='op'>=</span> <span class='const'>Pubnub</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
242
- <span class='symbol'>:subscribe_key</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>demo</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
243
- <span class='symbol'>:publish_key</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>demo</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
244
- <span class='symbol'>:origin</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_origin'>origin</span><span class='comma'>,</span>
245
- <span class='symbol'>:uuid</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>myUserID</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
246
- <span class='symbol'>:error_callback</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_lambda'>lambda</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_msg'>msg</span><span class='op'>|</span>
247
- <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>SOMETHING TERRIBLE HAPPENED HERE: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_msg'>msg</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
248
- <span class='rbrace'>}</span><span class='comma'>,</span>
249
- <span class='symbol'>:connect_callback</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_lambda'>lambda</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_msg'>msg</span><span class='op'>|</span>
250
- <span class='id identifier rubyid_puts'>puts</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>CONNECTED: </span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_msg'>msg</span><span class='period'>.</span><span class='id identifier rubyid_inspect'>inspect</span><span class='embexpr_end'>}</span><span class='tstring_end'>&quot;</span></span>
251
- <span class='rbrace'>}</span>
252
- <span class='rparen'>)</span>
253
- </code></pre>
254
-
255
- <h4>Publish</h4>
256
-
257
- <p>When publishing, send a string, number, array, or hash. PubNub automatically serializes it to JSON for you, so you don&#39;t have to.</p>
258
-
259
- <pre class="code ruby"><code class="ruby"><span class='ivar'>@my_callback</span> <span class='op'>=</span> <span class='id identifier rubyid_lambda'>lambda</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span><span class='lparen'>(</span><span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_msg'>msg</span><span class='rparen'>)</span> <span class='rbrace'>}</span>
260
-
261
- <span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_publish'>publish</span><span class='lparen'>(</span>
262
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>hello_world</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
263
- <span class='symbol'>:message</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>hi</span><span class='tstring_end'>&quot;</span></span><span class='comma'>,</span>
264
- <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='ivar'>@my_callback</span>
265
- <span class='rparen'>)</span>
266
- </code></pre>
267
-
268
- <h4>Subscribe</h4>
269
-
270
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_subscribe'>subscribe</span><span class='lparen'>(</span>
271
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:hello_world</span><span class='comma'>,</span>
272
- <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='ivar'>@my_callback</span>
273
- <span class='rparen'>)</span>
274
- </code></pre>
275
-
276
- <h4>Leave</h4>
277
-
278
- <p>Unsubscribes from given channel (<code>:channel</code>) or channel group (<code>:group</code>) and
279
- fires leave event. You need to be subscribed (only async counts) to channel that
280
- You want to leave.</p>
281
-
282
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_subscribe'>subscribe</span><span class='lparen'>(</span>
283
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:hello_world</span><span class='comma'>,</span>
284
- <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='ivar'>@my_callback</span>
285
- <span class='rparen'>)</span>
286
-
287
- <span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_leave'>leave</span><span class='lparen'>(</span>
288
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:hello_world</span><span class='comma'>,</span>
289
- <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='ivar'>@my_callback</span>
290
- <span class='rparen'>)</span>
291
- </code></pre>
292
-
293
- <p>If you want to force leave channel that you&#39;re not subscribed to, you can pass :force option to event</p>
294
-
295
- <pre class="code ruby"><code class="ruby"># Wrong
296
- pubnub.leave(
297
- :channel =&gt; :not_subbed_channel,
298
- :callback =&gt; @my_callback
299
- )
300
- # We&#39;ll get error:
301
- Pubnub::ArgumentError: You cannot leave channel that is not subscribed
302
-
303
- # Good
304
- p.leave(
305
- :channel =&gt; :force_leave,
306
- :force =&gt; true,
307
- :callback =&gt; @my_callback
308
- )
309
- </code></pre>
310
-
311
- <h4>History</h4>
312
-
313
- <p>Retrieve previously published messages (requires activation via admin.pubnub.com)
314
- Optional start, end, and reverse option usage can be found in the tests.</p>
315
-
316
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_history'>history</span><span class='lparen'>(</span>
317
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_channel'>channel</span><span class='comma'>,</span>
318
- <span class='symbol'>:count</span> <span class='op'>=&gt;</span> <span class='int'>10</span><span class='comma'>,</span>
319
- <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='ivar'>@my_callback</span>
320
- <span class='rparen'>)</span>
321
- </code></pre>
322
-
323
- <h4>Presence</h4>
324
-
325
- <p>In real-time see people join and leave with occupancy summaries. (requires activation via admin.pubnub.com)</p>
326
-
327
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_presence'>presence</span><span class='lparen'>(</span>
328
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:hello_world</span><span class='comma'>,</span>
329
- <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='ivar'>@my_callback</span>
330
- <span class='rparen'>)</span>
331
- </code></pre>
332
-
333
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_presence'>presence</span><span class='lparen'>(</span>
334
- <span class='symbol'>:group</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo:</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
335
- <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='ivar'>@my_callback</span>
336
- <span class='rparen'>)</span>
337
- </code></pre>
338
-
339
- <h4>HereNow</h4>
340
-
341
- <p>See who is &quot;here now&quot; in a channel (:channel) or channel group (:group) at this
342
- very moment.</p>
343
-
344
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_here_now'>here_now</span><span class='lparen'>(</span>
345
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_channel'>channel</span><span class='comma'>,</span>
346
- <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='ivar'>@my_callback</span>
347
- <span class='rparen'>)</span>
348
- </code></pre>
349
-
350
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_here_now'>here_now</span><span class='lparen'>(</span>
351
- <span class='symbol'>:group</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_channel_group'>channel_group</span><span class='comma'>,</span>
352
- <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='ivar'>@my_callback</span>
353
- <span class='rparen'>)</span>
354
- </code></pre>
355
-
356
- <h4>WhereNow</h4>
357
-
358
- <p>See where is client with specific uuid</p>
359
-
360
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_p'>p</span><span class='period'>.</span><span class='id identifier rubyid_where_now'>where_now</span><span class='lparen'>(</span>
361
- <span class='symbol'>:uuid</span> <span class='op'>=&gt;</span> <span class='symbol'>:my_friend</span><span class='comma'>,</span>
362
- <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='ivar'>@my_callback</span>
363
- <span class='rparen'>)</span>
364
- </code></pre>
365
-
366
- <h4>UUID</h4>
367
-
368
- <p>UUID is set in the initializer. A unique one is created, unless you specify one explicitly. To retrieve the current UUID:</p>
369
-
370
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_uuid'>uuid</span>
371
- </code></pre>
372
-
373
- <p>If you wish to manually set a custom UUID, pass in a uuid key in the initializer. See &quot;Init and instantiate a new PubNub instance&quot; for an example.</p>
374
-
375
- <h4>Time</h4>
376
-
377
- <p>Get the current PubNub time. This is great to use as a &quot;PubNub Ping&quot;</p>
378
-
379
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_time'>time</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>callback</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='ivar'>@my_callback</span><span class='rparen'>)</span>
380
- </code></pre>
381
-
382
- <h3>Channel Groups</h3>
383
-
384
- <p>Channel grouping is new feature introduced in Pubnub 3.7. It allows to group
385
- channels into channel-groups. For example you can add <code>weather</code> and <code>sport</code>
386
- channel to <code>news</code> channel group.</p>
387
-
388
- <p>All channel groups specific operations can be issued with
389
- <code>#channel_registration</code> method.</p>
390
-
391
- <h4>Getting info</h4>
392
-
393
- <h5>Getting all channel groups</h5>
394
-
395
- <pre class="code ruby"><code class="ruby"><span class='comment'># Response envelope will hold info as hash in payload attribute.
396
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_channel_registration'>channel_registration</span><span class='lparen'>(</span><span class='label'>action:</span> <span class='symbol'>:list_groups</span><span class='comma'>,</span> <span class='label'>http_sync:</span> <span class='kw'>true</span><span class='rparen'>)</span>
397
- </code></pre>
398
-
399
- <h5>Getting all channels in channel group</h5>
400
-
401
- <pre class="code ruby"><code class="ruby"><span class='comment'># Response envelope will hold info as hash in payload attribute.
402
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_channel_registration'>channel_registration</span><span class='lparen'>(</span><span class='label'>action:</span> <span class='symbol'>:get</span><span class='comma'>,</span> <span class='label'>group:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>http_sync:</span> <span class='kw'>true</span><span class='rparen'>)</span>
403
- </code></pre>
404
-
405
- <h4>Adding</h4>
406
-
407
- <h5>Add channel to channel group</h5>
408
-
409
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_channel_registration'>channel_registration</span><span class='lparen'>(</span><span class='label'>action:</span> <span class='symbol'>:add</span><span class='comma'>,</span> <span class='label'>group:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>new_group</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>channel:</span> <span class='symbol'>:bot</span><span class='comma'>,</span> <span class='label'>http_sync:</span> <span class='kw'>true</span><span class='rparen'>)</span>
410
- </code></pre>
411
-
412
- <h5>Remove channel group</h5>
413
-
414
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_channel_registration'>channel_registration</span><span class='lparen'>(</span><span class='label'>action:</span> <span class='symbol'>:remove</span><span class='comma'>,</span> <span class='label'>group:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cg</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>http_sync:</span> <span class='kw'>true</span><span class='rparen'>)</span>
415
- </code></pre>
416
-
417
- <h5>Remove channel from channel group</h5>
418
-
419
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_channel_registration'>channel_registration</span><span class='lparen'>(</span><span class='label'>action:</span> <span class='symbol'>:remove</span><span class='comma'>,</span> <span class='label'>group:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>cg</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>channel:</span> <span class='symbol'>:to_remove</span><span class='comma'>,</span> <span class='label'>http_sync:</span> <span class='kw'>true</span><span class='rparen'>)</span>
420
- </code></pre>
421
-
422
- <h3>PAM</h3>
423
-
424
- <p>Developers can grant/revoke/audit fine-grained permissions for their real-time apps and data at various levels.</p>
425
-
426
- <p>Envelopes returned by PAM events have additional :service and :payload keys.</p>
427
-
428
- <h4>PAM Usage Examples</h4>
429
-
430
- <p>When you issue a PAM operation, you can pass the <code>presence</code> key, the &#39;channel&#39; key, or both. </p>
431
-
432
- <pre class="code ruby"><code class="ruby"><span class='comment'># Will grant :r and :w permissions to demo-pnpres channel
433
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_grant'>grant</span><span class='lparen'>(</span><span class='symbol'>:presence</span> <span class='op'>=&gt;</span> <span class='symbol'>:demo</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
434
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
435
- <span class='kw'>end</span>
436
-
437
- <span class='comment'># Will grant :r and :w permissions to demo channel
438
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_grant'>grant</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:demo</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
439
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
440
- <span class='kw'>end</span>
441
-
442
- <span class='comment'># Will grant :r and :w permissions to demo and demo-pnpres channels
443
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_grant'>grant</span><span class='lparen'>(</span><span class='symbol'>:presence</span> <span class='op'>=&gt;</span> <span class='symbol'>:demo</span><span class='comma'>,</span> <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:demo</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
444
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
445
- <span class='kw'>end</span>
446
-
447
- <span class='comment'># For channel groups, all above work.
448
- </span><span class='comment'># But channel groups additionally have :manage option.
449
- </span>
450
- <span class='comment'># Will grant :r, :w and :m permissions to foo:foo
451
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_grant'>grant</span><span class='lparen'>(</span><span class='symbol'>:group</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo:foo</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
452
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span>
453
- <span class='kw'>end</span>
454
-
455
- </code></pre>
456
-
457
- <h5>Audit</h5>
458
-
459
- <p>Audits auths for given parameters</p>
460
-
461
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_audit'>audit</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:forbidden_for_jim</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
462
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_payload'>payload</span>
463
- <span class='kw'>end</span>
464
-
465
- <span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_audit'>audit</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:forbidden_for_jim</span><span class='comma'>,</span> <span class='symbol'>:auth_key</span> <span class='op'>=&gt;</span> <span class='symbol'>:jim</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
466
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_payload'>payload</span>
467
- <span class='kw'>end</span>
468
- </code></pre>
469
-
470
- <h5>Grant</h5>
471
-
472
- <p>Grants auths for given parameters, you can pass :read and :write keys as parameters</p>
473
-
474
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_grant'>grant</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:forbidden_to_write</span><span class='comma'>,</span> <span class='symbol'>:read</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:write</span> <span class='op'>=&gt;</span> <span class='kw'>false</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
475
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_payload'>payload</span>
476
- <span class='kw'>end</span>
477
-
478
- <span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_grant'>grant</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:forbidden_to_write</span><span class='comma'>,</span> <span class='symbol'>:read</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:write</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:auth_key</span> <span class='op'>=&gt;</span> <span class='symbol'>:admin</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
479
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_payload'>payload</span>
480
- <span class='kw'>end</span>
481
- </code></pre>
482
-
483
- <h5>Revoke</h5>
484
-
485
- <p>Revokes right to read and write. Same as granting r:0 w:0.</p>
486
-
487
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_revoke'>revoke</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:forbidden</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
488
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_payload'>payload</span>
489
- <span class='kw'>end</span>
490
-
491
- <span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_grant'>grant</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:forbidden</span><span class='comma'>,</span> <span class='symbol'>:auth_key</span> <span class='op'>=&gt;</span> <span class='symbol'>:godzilla</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
492
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_payload'>payload</span>
493
- <span class='kw'>end</span>
494
- </code></pre>
495
-
496
- <h3>Advanced Usage Examples</h3>
497
-
498
- <h5>Init</h5>
499
-
500
- <pre class="code ruby"><code class="ruby"><span class='comment'># Example below shows passing more options for client
501
- </span><span class='comment'># Pubnub.new returns Pubnub::Client instance
502
- </span><span class='id identifier rubyid_pubnub'>pubnub</span> <span class='op'>=</span> <span class='const'>Pubnub</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span>
503
- <span class='symbol'>:error_callback</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_custom_error_callback'>custom_error_callback</span><span class='comma'>,</span>
504
- <span class='symbol'>:connect_callback</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_custom_connect_callback'>custom_connect_callback</span><span class='comma'>,</span>
505
- <span class='symbol'>:ssl</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span>
506
- <span class='symbol'>:uuid</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>newton</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span>
507
- <span class='symbol'>:origin</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_custom_origin'>custom_origin</span><span class='comma'>,</span>
508
- <span class='symbol'>:subscribe_timeout</span> <span class='op'>=&gt;</span> <span class='int'>500</span><span class='comma'>,</span>
509
- <span class='symbol'>:non_subscribe_timeout</span> <span class='op'>=&gt;</span> <span class='int'>3</span><span class='comma'>,</span>
510
- <span class='symbol'>:ttl</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_custom_default_ttl_for_pam'>custom_default_ttl_for_pam</span><span class='comma'>,</span>
511
- <span class='symbol'>:secret_key</span> <span class='op'>=&gt;</span> <span class='int'>0</span>
512
- <span class='rparen'>)</span>
513
- </code></pre>
514
-
515
- <h6>Custom logger</h6>
516
-
517
- <p>You can pass your custom logger as :logger key while creating new Pubnub instance. Logger invocations has set progname &#39;Pubnub::Class&#39; eg. &#39;Pubnub::Client&#39;, &#39;Pubnub::Subscribe&#39;.</p>
518
-
519
- <h5>Publish</h5>
520
-
521
- <pre class="code ruby"><code class="ruby"><span class='comment'># Message could be any object that have .to_json method
522
- </span><span class='comment'># You do not need to jsonify message before sending!
523
- </span>
524
- <span class='comment'># This time publish event will block main thread until callback will finish as we set :http_sync to true
525
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_publish'>publish</span><span class='lparen'>(</span>
526
- <span class='symbol'>:messsage</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_message'>message</span><span class='comma'>,</span>
527
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:whatever</span><span class='comma'>,</span>
528
- <span class='symbol'>:http_sync</span> <span class='op'>=&gt;</span> <span class='kw'>true</span> <span class='rparen'>)</span>
529
- </code></pre>
530
-
531
- <h5>Subscribe</h5>
532
-
533
- <pre class="code ruby"><code class="ruby"><span class='comment'># You can pass in :channel or :channels String, Symbol, Array of both, or csv separated with commas, remember, as space is valid channel part, there should not be any spaces between commas (unless you want them)
534
- </span><span class='comment'># Some example of valid channels:
535
- </span><span class='comment'># :example_symbol
536
- </span><span class='comment'># &#39;example_string&#39;
537
- </span><span class='comment'># [:one, :two, &#39;three&#39;]
538
- </span><span class='comment'># [:anything]
539
- </span><span class='comment'># &#39;one,two,three&#39;
540
- </span>
541
- <span class='comment'># Firing sync subscribe could lock your thread even for 5 minutes
542
- </span><span class='comment'># When there&#39;s no traffic on channel server will send timetoken without
543
- </span><span class='comment'># any messages every ~300s.
544
- </span><span class='comment'># First sync subscribe will just update your timetoken, you will not get any messages
545
- </span><span class='comment'># example:
546
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_subscribe'>subscribe</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>alerts</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='symbol'>:http_sync</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='rparen'>)</span> <span class='comment'># just update timetoken
547
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_subscribe'>subscribe</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>alerts</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='symbol'>:http_sync</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='rparen'>)</span> <span class='comment'># Will fire request with current timetoken and can possibly get messages
548
- </span>
549
- <span class='comment'># Async subscribe will update your timetoken and will fire given callback for every message that it gets
550
- </span><span class='comment'># example:
551
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_subscribe'>subscribe</span><span class='lparen'>(</span>
552
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>fight_log</span><span class='tstring_end'>&#39;</span></span>
553
- <span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
554
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>attacker</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
555
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>defender</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
556
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_message'>message</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>damage</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
557
- <span class='kw'>end</span>
558
- </code></pre>
559
-
560
- <h6>Channel groups</h6>
561
-
562
- <p>You can subscribe to channel group same way as You&#39;re subscribing to channels.</p>
563
-
564
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_subscribe'>subscribe</span><span class='lparen'>(</span><span class='label'>group:</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo:foo</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='label'>channel:</span> <span class='symbol'>:ping_3</span><span class='comma'>,</span> <span class='label'>callback:</span> <span class='id identifier rubyid_callback'>callback</span><span class='rparen'>)</span>
565
- </code></pre>
566
-
567
- <p>Response envelopes will hold channel and channel_group values. So, if You want
568
- to subscribe to channel group and your callback need to know where are envelopes
569
- from, You can check it using <code>envelope.channel_group</code>. Of course You can
570
- subscribe to channel group and plain channel at once.</p>
571
-
572
- <h5>History</h5>
573
-
574
- <p>History returns :count messages from given channel.</p>
575
-
576
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_history'>history</span><span class='lparen'>(</span>
577
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:actions</span><span class='comma'>,</span>
578
- <span class='symbol'>:count</span> <span class='op'>=&gt;</span> <span class='int'>10</span><span class='comma'>,</span>
579
- <span class='symbol'>:start</span> <span class='op'>=&gt;</span> <span class='int'>13942156708212448</span><span class='comma'>,</span>
580
- <span class='symbol'>:end</span> <span class='op'>=&gt;</span> <span class='int'>13942156908212448</span><span class='comma'>,</span>
581
- <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_replay'>replay</span>
582
- <span class='rparen'>)</span>
583
- </code></pre>
584
-
585
- <p>:reverse set to true will traverse the time line in reverse starting with the newest message first. Default is false.
586
- If both start and end arguments are provided, reverse is ignored and messages are returned starting with the newest message.</p>
587
-
588
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_history'>history</span><span class='lparen'>(</span>
589
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:actions</span><span class='comma'>,</span>
590
- <span class='symbol'>:count</span> <span class='op'>=&gt;</span> <span class='int'>10</span><span class='comma'>,</span>
591
- <span class='symbol'>:reverse</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span>
592
- <span class='symbol'>:callback</span> <span class='op'>=&gt;</span> <span class='id identifier rubyid_replay'>replay</span>
593
- <span class='rparen'>)</span>
594
- </code></pre>
595
-
596
- <p>History envelope also contains .history_start and .history_end values</p>
597
-
598
- <h5>Paged History</h5>
599
-
600
- <p>Paginate through your history. You can pass <code>:channel</code>, <code>:page</code>, <code>:limit</code>, <code>:callback</code>, <code>:http_sync</code>, <code>:start</code> and <code>:end</code> options, all of them works like in history event.</p>
601
-
602
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_paged_history'>paged_history</span><span class='lparen'>(</span>
603
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:actions</span><span class='comma'>,</span>
604
- <span class='symbol'>:limit</span> <span class='op'>=&gt;</span> <span class='int'>10</span><span class='comma'>,</span>
605
- <span class='symbol'>:page</span> <span class='op'>=&gt;</span> <span class='int'>3</span><span class='comma'>,</span>
606
- <span class='symbol'>:http_sync</span> <span class='op'>=&gt;</span> <span class='kw'>true</span>
607
- <span class='rparen'>)</span>
608
- </code></pre>
609
-
610
- <h5>Presence</h5>
611
-
612
- <p>Presence works exactly the same way as subscribe, it just adds &#39;-pnpres&#39; to channel name.</p>
613
-
614
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_presence'>presence</span><span class='lparen'>(</span>
615
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:mars</span>
616
- <span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
617
- <span class='id identifier rubyid_show_in_roster'>show_in_roster</span><span class='lparen'>(</span><span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_uuid'>uuid</span><span class='rparen'>)</span>
618
- <span class='kw'>end</span>
619
- </code></pre>
620
-
621
- <h5>HereNow</h5>
622
-
623
- <p>HereNow shows us who is currently subscribing channel and how much clients are online on given channel.</p>
624
-
625
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_here_now'>here_now</span><span class='lparen'>(</span>
626
- <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:pamam_moon_iv</span>
627
- <span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span>
628
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_parsed_response'>parsed_response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>uuids</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
629
- <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_parsed_response'>parsed_response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>occupancy</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span>
630
- <span class='kw'>end</span>
631
- </code></pre>
632
-
633
- <p>You can also give no specific channel. Then you&#39;ll get global HereNow event response which holds all channels.</p>
634
-
635
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_here_now'>here_now</span> <span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_parsed_response'>parsed_response</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>channels</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='rbrace'>}</span>
636
- </code></pre>
637
-
638
- <h5>Heartbeat</h5>
639
-
640
- <p>Heartbeat (expressed in seconds) is used to signal to the server that the client is still online. If the client disconnects without a leave event, others observing presence on the channel will not notice that this client has left the channel until a maximum of heartbeat interval seconds.</p>
641
-
642
- <p>You normally will never need to touch this value, unless your Ruby client resides on a poor or mobile connection.</p>
643
-
644
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span> <span class='op'>=</span> <span class='const'>Pubnub</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='symbol'>:subscribe_key</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>demo</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='symbol'>:heartbeat</span> <span class='op'>=&gt;</span> <span class='int'>60</span><span class='rparen'>)</span>
645
- </code></pre>
646
-
647
- <p>Update it via heartbeat= and set_heartbeat()</p>
648
-
649
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_heartbeat'>heartbeat</span> <span class='op'>=</span> <span class='int'>120</span>
650
- <span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_set_heartbeat'>set_heartbeat</span> <span class='int'>240</span>
651
- </code></pre>
652
-
653
- <p>Read it via heartbeat and get_heartbeat()</p>
654
-
655
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_heartbeat'>heartbeat</span>
656
- <span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_get_heartbeat'>get_heartbeat</span>
657
- </code></pre>
658
-
659
- <h4>Pam</h4>
660
-
661
- <p>PAM allows you to grant read and write access basing on channels and auth_keys.
662
- Every pam event requires :secret_key (Remember! You should set it while initializing pubnub)</p>
663
-
664
- <p>PAM actions could take :presence option, that will grant/revoke/audit permissions on given presence channel.
665
- :presence option can be used along with :channel.</p>
666
-
667
- <h5>Audit</h5>
668
-
669
- <pre class="code ruby"><code class="ruby"><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_audit'>audit</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>hidden_system</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_msg'>msg</span> <span class='rbrace'>}</span>
670
-
671
- </code></pre>
672
-
673
- <h5>Grant</h5>
674
-
675
- <pre class="code ruby"><code class="ruby"><span class='comment'># Channel level
676
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_grant'>grant</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>hidden_system</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='symbol'>:read</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:write</span> <span class='op'>=&gt;</span> <span class='kw'>false</span><span class='rparen'>)</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_msg'>msg</span> <span class='rbrace'>}</span>
677
-
678
- <span class='comment'># Auth key level
679
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_grant'>grant</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>hidden_system</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='symbol'>:read</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='symbol'>:write</span> <span class='op'>=&gt;</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='symbol'>:auth_key</span> <span class='op'>=&gt;</span> <span class='symbol'>:lemon</span><span class='rparen'>)</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_msg'>msg</span> <span class='rbrace'>}</span>
680
- </code></pre>
681
-
682
- <h5>Revoke</h5>
683
-
684
- <p>Revoke is equal to grant with w false, read false</p>
685
-
686
- <pre class="code ruby"><code class="ruby"><span class='comment'># Channel level
687
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_revoke'>revoke</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>hidden_system</span><span class='tstring_end'>&#39;</span></span><span class='rparen'>)</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_msg'>msg</span> <span class='rbrace'>}</span>
688
-
689
- <span class='comment'># Auth key level
690
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_revoke'>revoke</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>hidden_system</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='symbol'>:auth_key</span> <span class='op'>=&gt;</span> <span class='symbol'>:lemon</span><span class='rparen'>)</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_envelope'>envelope</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_envelope'>envelope</span><span class='period'>.</span><span class='id identifier rubyid_msg'>msg</span> <span class='rbrace'>}</span>
691
- </code></pre>
692
-
693
- <h3>State</h3>
694
-
695
- <p>State is stored on the server for subscribed uuid, you can pass state in few ways and you can get it from server.</p>
696
-
697
- <h4>Setting state</h4>
698
-
699
- <pre class="code ruby"><code class="ruby"><span class='comment'># You can set state in a few ways
700
- </span><span class='comment'># Using subscribe
701
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_subscribe'>subscribe</span><span class='lparen'>(</span><span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>my_channel</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='symbol'>:state</span> <span class='op'>=&gt;</span> <span class='lbrace'>{</span><span class='symbol'>:my_channel</span> <span class='op'>=&gt;</span> <span class='lbrace'>{</span><span class='symbol'>:key</span> <span class='op'>=&gt;</span> <span class='symbol'>:value</span><span class='rbrace'>}</span><span class='rbrace'>}</span><span class='rparen'>)</span><span class='lbrace'>{</span> <span class='op'>|</span><span class='id identifier rubyid_e'>e</span><span class='op'>|</span> <span class='id identifier rubyid_puts'>puts</span> <span class='id identifier rubyid_e'>e</span><span class='period'>.</span><span class='id identifier rubyid_msg'>msg</span> <span class='rbrace'>}</span>
702
- <span class='comment'># Be aware that state have to be hash of hashes where keys are subscribed channel names
703
- </span>
704
- <span class='comment'># Using event #set_state
705
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_set_state'>set_state</span><span class='lparen'>(</span><span class='symbol'>:state</span> <span class='op'>=&gt;</span> <span class='lbrace'>{</span><span class='symbol'>:key</span> <span class='op'>=&gt;</span> <span class='symbol'>:value</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='symbol'>:channel</span> <span class='op'>=&gt;</span> <span class='symbol'>:my_channel</span><span class='comma'>,</span> <span class='symbol'>:http_sync</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='rparen'>)</span>
706
-
707
- <span class='comment'># or with channel groups
708
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_set_state'>set_state</span><span class='lparen'>(</span><span class='symbol'>:state</span> <span class='op'>=&gt;</span> <span class='lbrace'>{</span><span class='symbol'>:key</span> <span class='op'>=&gt;</span> <span class='symbol'>:value</span><span class='rbrace'>}</span><span class='comma'>,</span> <span class='symbol'>:group</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>foo:foo</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='symbol'>:http_sync</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='rparen'>)</span>
709
-
710
- </code></pre>
711
-
712
- <h4>Getting state</h4>
713
-
714
- <pre class="code ruby"><code class="ruby"><span class='comment'># All you need to know is just uuid and channel
715
- </span><span class='id identifier rubyid_pubnub'>pubnub</span><span class='period'>.</span><span class='id identifier rubyid_state'>state</span><span class='lparen'>(</span><span class='symbol'>:uuid</span> <span class='op'>=&gt;</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>uuid_client_that_i_am_searching_for</span><span class='tstring_end'>&#39;</span></span><span class='comma'>,</span> <span class='symbol'>:http_sync</span> <span class='op'>=&gt;</span> <span class='kw'>true</span><span class='rparen'>)</span>
716
- </code></pre>
717
-
718
- <h4>State and channel groups</h4>
719
-
720
- <p>State works fine with channel groups too! Just pass the <code>:group</code> key when
721
- setting or do it while subscribing.</p>
722
-
723
- <h3>Other</h3>
724
-
725
- <p>Advanced usage examples can be found also in the examples directory.</p>
726
-
727
- <h4>demo_console</h4>
728
-
729
- <p>A demo console app which shows how to use just about every PubNub Ruby call, just about every possible way!</p>
730
-
731
- <h4>translator</h4>
732
-
733
- <p>A chat room, with real-time translation! This is using PubNub for the real-time chat, and Bing translation services for babel.</p>
734
-
735
- <h4>pubnub_livestream</h4>
736
-
737
- <p>Demo rails chat app. It has also been tested with Heroku.</p>
738
-
739
- <h4>sinatra</h4>
740
-
741
- <p>Sinatra demo.</p>
742
-
743
- <h4>sub_and_unsub_1</h4>
744
-
745
- <p>Mixing up some async pubs and subs, using blocks and callbacks.</p>
746
-
747
- <h4>serial_publish</h4>
748
-
749
- <p>Publish 10000 times with an explicit 0.05s delay between publishes</p>
750
-
751
- <h2>Proxy support</h2>
752
-
753
- <p>Basic proxy is supported using ENV global, before initializing pubnub just set:</p>
754
-
755
- <pre class="code ruby"><code class="ruby"><span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>HTTP_PROXY</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>http://my.poxy/</span><span class='tstring_end'>&#39;</span></span>
756
- <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>HTTP_PROXY_USER</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>user</span><span class='tstring_end'>&#39;</span></span>
757
- <span class='const'>ENV</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>HTTP_PROXY_PASS</span><span class='tstring_end'>&#39;</span></span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>secret</span><span class='tstring_end'>&#39;</span></span>
758
- </code></pre>
759
-
760
- <p>after that you can initialize pubnub object as always.</p>
761
-
762
- <h1>Please direct all Support Questions and Concerns to <a href="mailto:Support@PubNub.com">Support@PubNub.com</a></h1>
763
- </div></div>
764
-
765
- <div id="footer">
766
- Generated on Tue Aug 18 16:02:32 2015 by
767
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
768
- 0.8.7.6 (ruby-2.1.6).
769
- </div>
770
-
771
- </body>
772
- </html>