WebHook example has incorrect do .. else

Created by: spuder

The code snippet in the doc page has the following problems

  1. Doesn't work on ruby 1.8 (the default in centos 6)
  2. Uses incorrect do .. else syntax.

Will create merge request

Additional information here: http://stackoverflow.com/questions/25899476/webrick-gives-error-unexpected-expecting-end