lib/submodules/ably-ruby/README.md in ably-rest-0.8.9 vs lib/submodules/ably-ruby/README.md in ably-rest-0.8.13

- old
+ new

@@ -1,8 +1,7 @@ # [Ably](https://www.ably.io) -[![Build Status](https://travis-ci.org/ably/ably-ruby.png)](https://travis-ci.org/ably/ably-ruby) [![Gem Version](https://badge.fury.io/rb/ably.svg)](http://badge.fury.io/rb/ably) [![Coverage Status](https://coveralls.io/repos/ably/ably-ruby/badge.svg)](https://coveralls.io/r/ably/ably-ruby) A Ruby client library for [ably.io](https://www.ably.io), the realtime messaging service. @@ -225,13 +224,13 @@ ```ruby secret_key = Ably::Util::Crypto.generate_random_key channel = client.channels.get('test', cipher: { key: secret_key }) channel.publish nil, "sensitive data" # data will be encrypted before publish messages_page = channel.history -messages_page.first.data #=> "sensitive data" +messages_page.items.first.data #=> "sensitive data" ``` -### Generate Token +### Generate a Token Tokens are issued by Ably and are readily usable by any client to connect to Ably: ```ruby token_details = client.auth.request_token