chargebee-ruby icon indicating copy to clipboard operation
chargebee-ruby copied to clipboard

Feature request: Webhook objects for test

Open patriciojofre opened this issue 7 years ago • 0 comments

Hi team, Could you provide something like this for test webhooks behaviour in ruby test? https://developers.braintreepayments.com/reference/general/webhooks/subscription/ruby

In my case, I created a class that provides a Chargebee webhook response, but I think that a official solution could be great. Here's my code: https://gist.github.com/patriciojofre/03464fa01b3267a6da0cabc5c99ec4b7 (I copied response from a real webhook received and then create dynamic objects)

Thanks!

patriciojofre avatar Oct 16 '18 18:10 patriciojofre