README.md in ably-rest-0.8.5 vs README.md in ably-rest-0.8.6
- old
+ new
@@ -27,10 +27,10 @@
## Using the REST API
All examples assume a client and/or channel has been created as follows:
```ruby
-client = Ably::Rest.new(api_key: 'xxxxx')
+client = Ably::Rest.new(key: 'xxxxx')
channel = client.channel('test')
```
### Publishing a message to a channel