getonbrd / pipedrive-connect

Ruby library for the Pipedrive API.
MIT License
19 stars 30 forks source link

Feature - add: api debug info #11

Closed estani closed 3 years ago

estani commented 3 years ago

I needed to debug the http requests, so thought this might be handy.

If ok, the documentation should be extended.

# shows the http traffic to/from Pipedrive
Pipedrive.debug_api = true
j4rs commented 3 years ago

I like it, would you please bump the version, update the changelog and extend the doc on this same PR? - thanks in advance.

estani commented 3 years ago

added as version 1.2.3 renamed debug_api to debug_http and changed the basic debug information, so is not displayed as default, but can be turned on by Pipedrive.debug