HolyCow
Dead simple notification when people do things on your site
Installation
Add this line to your application's Gemfile:
gem 'holy_cow'
And then execute:
$ bundle
Or install it yourself as:
$ gem install holy_cow
Usage
Configuration can happen anywhere, application.rb
or config/initializers/holy_cow.rb
seem like reasonable places.
Recipients
HolyCow.recipient "my@emailaddress.com"
HolyCow.recipients "me@email.com", "you@email.com"
From Address
HolyCow.from_address "me@example.com"
Sending notifications
Just call holy_cow with a subject line and you'll get an e-mail. You can pass extra parameters and they'll be included as well. Go nuts!
holy_cow "somebody actually clicked that button!"
holy_cow "a user changed their avatar", current_user
holy_cow "the database is down", ex.message
SMTP configuration
HolyCow uses action_mailer, so it will use whatever e-mail sending you have configured or try and use sendmail/local delivery if you don't have anything set up.
Contributing
- Fork it ( https://github.com/tenforwardconsulting/holy_cow )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request