Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Webhook objects for test #35

Open
patriciojofre opened this issue Oct 16, 2018 · 0 comments
Open

Feature request: Webhook objects for test #35

patriciojofre opened this issue Oct 16, 2018 · 0 comments

Comments

@patriciojofre
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant