Add the option to use a proc to modify the data being sent by a webhook #233
Open
TikiTDO wants to merge 1 commit intomojombo:masterfrom
Open
Add the option to use a proc to modify the data being sent by a webhook #233TikiTDO wants to merge 1 commit intomojombo:masterfrom
TikiTDO wants to merge 1 commit intomojombo:masterfrom
Conversation
Author
|
There appears to be an issue with the version of bundler that travis-ci uses, which I reported here. The actual code should pass all tests when these issues are sorted out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have a use case where I would like to post a notification to a webhook, but I want to control the data being posted. This implements a
process_dataargument on the Webhook handler. This argument can be set to a proc data, which receives all 5 of the notify arguments, and returns the object that will be posted/sent as json.