Pass `doc` to `on_before_dispatch` #37

Merged
merged 1 commit into from Nov 6, 2013

Projects

None yet

2 participants

@joncanady

This allows users to log outgoing documents before they are sent.

This may break backwards compatibility by changing the arity of on_before_dispatch, but we couldn't get the tests to run via rake test so we're unsure of how to test that we're not breaking every existing implementation.

Brian Pokosh & Jon Canady Pass `doc` to `on_before_dispatch`
This allows users to log outgoing documents before they are sent.
2511a03
@troelskn
Collaborator
troelskn commented Nov 6, 2013

Makes sense why you'd want this. I guess the BC is acceptable here - Breakage will be trivial to fix.

@troelskn troelskn merged commit 0eea48b into unwire:master Nov 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment