getEvent method should be public
Refactoring class WebHook in Hook