mailgun/documentation — pull request #67 by dideler (2014-05-26 20:50:13+00:00)
Title: Refactor Ruby `verify` method for securing webhooks

- replace deprecated usage of `OpenSSL::Digest::Digest` with `OpenSSL::Digest`
- prefer `::SHA256.new` over `.new('sha256')`
- break down statement into multiple steps so it's easier to understand
- remove superfluous return statement