README.md in oauth2_api_client-3.1.1 vs README.md in oauth2_api_client-3.2.0

- old
+ new

@@ -14,9 +14,16 @@ client.post("/orders", json: { address: "..." }).status.success? client.headers("User-Agent" => "API Client").timeout(read: 5, write: 5).get("/orders").parse(:json) # ... ``` +In case an API is unprotected and you still want to use Oauth2ApiClient, you +can simply not pass any token: + +```ruby +client = Oauth2ApiClient.new(base_url: "...") +``` + Oauth2ApiClient is capable of generating oauth2 tokens, when a client id, client secret and oauth token url is given with automatic token caching and renewal on expiry, including retry of the current request. ```ruby