README.md in kloudless-0.2.0 vs README.md in kloudless-0.2.1
- old
+ new
@@ -21,11 +21,14 @@
See the [Kloudless API Docs](https://developers.kloudless.com/docs) for the
official reference. You can obtain an API Key at the [Developer
Portal](https://developers.kloudless.com/).
```ruby
-# Authentication
-Kloudless.authorize(api_key: "abc")
+# Authentication using a Bearer Token obtained by authenticating a user.
+Kloudless.authorize(token: "abc")
+
+# Alternatively, use the line below for API Keys:
+# Kloudless.authorize(api_key: "abc")
accounts = Kloudless::Account.list
account = accounts.first
account = Kloudless::Account.update(account_id: account.id, active: false)