Skip to content

Commit

Permalink
Version 4.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bodrovis committed Oct 25, 2021
1 parent 9312c03 commit 4c56159
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/additional_info/changelog.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Changelog

## 4.4.0
## 4.4.0 (25-Oct-21)

* Added a new `.oauth_client` method for the `Lokalise` module. This method must be used when you're initializing a new API client with a **token obtained via OAuth 2 flow**, not by copy-pasting the token from the "Personal profile" section on Lokalise website. So in this case instead of saying `Lokalise.client`, you should do the following:

```ruby
Lokalise.oauth_client("TOKEN_OBTAINED_VIA_OAUTH2", params)
@client = Lokalise.oauth_client("TOKEN_OBTAINED_VIA_OAUTH2", params)
```

* `params` are the same as for the `.client` method.
Expand Down

0 comments on commit 4c56159

Please sign in to comment.