An easy way to debug gems based on Ruby’s net::http

If you’re using a custom gem to consume an API or just communicate through http you can do the following if you want to debug the traffic:

(Based on ahoward gist)

Show your support

Clapping shows how much you appreciated Edgar Gonzalez’s story.