Closed yas4891 closed 9 years ago
Yep, many subscribers can all receive the same event. stripe_event
uses ActiveSupport::Notifications under the hood.
@peterkeen Would I have to add stripe_event routes to each gem/engine or can I just implement that in koudoku and have the others pick it up?
I want to replace the webhook management in koudoku (https://github.com/andrewculver/koudoku/) with stripe_event, but also use stripe_event in other gems that depend on koudoku (stripe_invoice and koudoku_coupons).
Is this possible? Can I have multiple initializers that subscribe to stripe_event events or will they replace each other?