twilio / twilio-ruby

A Ruby gem for communicating with the Twilio API and generating TwiML
MIT License
1.36k stars 464 forks source link

feat: Add `Twilio::HTTP::Client#configure_connection` #559

Closed darwinShopify closed 3 years ago

darwinShopify commented 3 years ago

Add the configure_connection method to the Twilio::HTTP::Client class to allow consumers to apply custom configuration to the Faraday connection.

The motivation for this change is to allow consumers to register custom middleware.

Checklist

If you have questions, please file a support ticket, or create a GitHub Issue in this repository.

darwinShopify commented 3 years ago

@JenniferMah updated and ready to go!