README.md in rdstation-ruby-client-2.0.0 vs README.md in rdstation-ruby-client-2.1.0
- old
+ new
@@ -66,9 +66,17 @@
```ruby
rdstation_authentication = RDStation::Authentication.new('client_id', 'client_secret')
rdstation_authentication.update_access_token('refresh_token')
```
+#### Revoking an access_token
+
+```ruby
+RDStation::Authentication.revoke(access_token: "your token")
+```
+
+Note: this will completely remove your credentials from RD Station (`update_access_token` won't work anymore).
+
### Contacts
#### Getting a Contact by UUID
Returns data about a specific Contact