README.md in ably-0.8.4 vs README.md in ably-0.8.5
- old
+ new
@@ -185,10 +185,10 @@
token_details = client.auth.request_token
# => #<Ably::Models::TokenDetails ...>
token_details.token # => "xVLyHw.CLchevH3hF....MDh9ZC_Q"
client = Ably::Rest.new(token: token_details.token)
-token = client.auth.create_token_request(token_params: { ttl: 3600 })
+token = client.auth.create_token_request(ttl: 3600)
# => {"id"=>...,
# "clientId"=>nil,
# "ttl"=>3600,
# "timestamp"=>...,
# "capability"=>"{\"*\":[\"*\"]}",