sendgrid / ruby-http-client

SendGrid's Ruby HTTP Client for calling APIs
https://sendgrid.com
MIT License
23 stars 54 forks source link

Fix issue #13: Timeout configuration #14

Closed guille closed 7 years ago

guille commented 7 years ago

- What I did This PR addresses issue #13, also referenced here.

- How I did it The changes include two optional arguments to the Client#build_request method, with the same default value as the ones in the Net:HTTP library. No existing code will be broken as they are optional arguments.

-Testing The PR also includes tests for these new parameters.

SendGridDX commented 7 years ago

CLA assistant check
All committers have signed the CLA.

thinkingserious commented 7 years ago

Thanks for taking the time to create a PR. We would like to thank you with some swag. Please fill out this form so we can send it to you :)