Mangopay / mangopay2-ruby-sdk

Ruby Gem for MANGOPAY
https://rubygems.org/gems/mangopay
MIT License
42 stars 38 forks source link

Allow to configure use_ssl option #225

Closed mantaskujalis closed 1 year ago

mantaskujalis commented 1 year ago

Hello,

we are trying to configure our testing environment and got stuck on forced use_ssl option as mandatory. As specs runs only locally (via docker) we are having hard time getting ssl certificate.

This PR allows to configure use_ssl option in preproduction enviroment. Production would be left unconfigurable as I believe ssl forcing is good thing in production. In preproduction env without setting use_ssl option it would also default to true unless value is explicitly assigned to false

@iulian03

mantaskujalis commented 1 year ago

@iulian03 maybe you had time to look into this?

vikt3 commented 1 year ago

@iulian03 any chance someone could look into these changes? Would really appreciate

iulian03 commented 1 year ago

@mantaskujalis @vikt3 it looks good, sorry for the late response. Will merge it and release it soon :)