myob-api icon indicating copy to clipboard operation
myob-api copied to clipboard

Allow the OAuth client to receive a configuration block

Open gaugau opened this issue 9 years ago • 0 comments

OAuth client can receive a block to config its internal http client (based on Faraday). https://github.com/intridea/oauth2/blob/0ab3c213f7baa43f232eb18fa46301e1a9460f7d/lib/oauth2/client.rb#L27 Hence, by allowing a block to our constructor, it's enable to change some helpful configurations such as log requests to STDOUT.

gaugau avatar Sep 14 '15 18:09 gaugau