ruckus / quickbooks-ruby

Quickbooks Online REST API V3 - Ruby
MIT License
374 stars 302 forks source link

Add callbacks around HTTP requests #507

Closed anaprimawaty closed 4 years ago

anaprimawaty commented 4 years ago

Add before_request, around_request and after_request callbacks around HTTP requests. This is useful for instrumentation, logging / metric gathering or controlling rate limits.

Inspiration from https://github.com/waynerobinson/xeroizer/pull/251 and https://github.com/waynerobinson/xeroizer/pull/344

ruckus commented 4 years ago

Interesting! Thank you!