Skip to content

3.20.0

Compare
Choose a tag to compare
@fredericdelordm fredericdelordm released this 15 Nov 12:07
· 35 commits to master since this release

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.