Skip to content

Commit

Permalink
version bump 3.20.0
Browse files Browse the repository at this point in the history
  • Loading branch information
iulian03 committed Nov 15, 2023
1 parent fc7910d commit b991fd3
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
23 changes: 23 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,26 @@
## [3.20.0] - 2023-11-15
### Added

Now, our SDK enables seamless integration with multiple clientIDs, offering enhanced flexibility and customization.

You can effortlessly create multiple configuration objects tailored to your specific needs:

```
config = MangoPay::Configuration.new
config.client_id = 'your-client-id'
config.client_apiKey = 'your-api-key'
config.preproduction = true
```
add them using :

`MangoPay.add_config('config1', config)`

and perform a call with them using :

`MangoPay.get_config('config1').apply_configuration`

The previous method configure() is still working.

## [3.19.0] - 2023-11-02
### Updated

Expand Down
19 changes: 19 additions & 0 deletions README.md
Expand Up @@ -85,6 +85,25 @@ rescue MangoPay::ResponseError => ex
end
```

### Using multiple clientIDs
You can effortlessly create multiple configuration objects tailored to your specific needs:

```
config = MangoPay::Configuration.new
config.client_id = 'your-client-id'
config.client_apiKey = 'your-api-key'
config.preproduction = true
```
add them using :

`MangoPay.add_config('config1', config)`

and perform a call with them using :

`MangoPay.get_config('config1').apply_configuration`

The previous method configure() is still working.

### Accessing RateLimit Headers
Along with each request, the rate limiting headers are automatically updated in MangoPay object:

Expand Down
2 changes: 1 addition & 1 deletion lib/mangopay/version.rb
@@ -1,3 +1,3 @@
module MangoPay
VERSION = '3.19.0'
VERSION = '3.20.0'
end

0 comments on commit b991fd3

Please sign in to comment.