evendis / mandrill-rails

Webhook processing and event decoration to make using Mandrill with Rails just that much easier
MIT License
288 stars 36 forks source link

Web Hook Generator #34

Closed brianknight10 closed 8 years ago

brianknight10 commented 8 years ago

This pull request addresses issue #12 and provides a web hook generator.

The generator creates resource routes and a controller, with support for namespaced controllers and pluralized and singular names.

I've updated the README with instructions for use and have provided tests for the functionality. No existing code was changed, with the exception of one test. I've commented on the commit as to why I changed that test.

I did add one development dependency to the .gemspec file to permit testing of the generator. As requested, I've isolated that addition to its own commit.

This has been a great gem to use - thanks! I hope you find this addition useful.

tardate commented 8 years ago

brilliant @brianknight10 .. thanks for this