integrallis / stripe_event

Stripe webhook integration for Rails applications.
https://rubygems.org/gems/stripe_event
MIT License
844 stars 104 forks source link

Allow for ignoring particular events #38

Closed rmm5t closed 10 years ago

rmm5t commented 10 years ago

This change allows you to return nil in an event_retriever to ignore a particular webhook event. You might want to do this for security reasons (See #36). You might want to do this for ignoring test webhooks in production (See #33 and #34).

peterkeen commented 10 years ago

:+1:

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling 16d2c9b9918d898432d2c77c8db64aa9770dfcb0 on rmm5t:ignore-event-support into b9c5e7fc34af597ffa0bdc2324ce38468939c157 on integrallis:master.

rmm5t commented 10 years ago

Just added example docs to the README too.

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling 16d2c9b9918d898432d2c77c8db64aa9770dfcb0 on rmm5t:ignore-event-support into b9c5e7fc34af597ffa0bdc2324ce38468939c157 on integrallis:master.

coveralls commented 10 years ago

Coverage Status

Coverage remained the same when pulling f9500b0b501a17012aff2cdb2aa91947ce151780 on rmm5t:ignore-event-support into b9c5e7fc34af597ffa0bdc2324ce38468939c157 on integrallis:master.

peterkeen commented 10 years ago

:+1:

invisiblefunnel commented 10 years ago

Looks great! Happy to merge a publish a new release - and apologies for the slow reply.