chargebee / chargebee-ruby

Ruby library for the Chargebee API.

Home Page:https://apidocs.chargebee.com/docs/api?lang=ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature request: Webhook objects for test

patriciojofre opened this issue · 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!