README.md in exception-alarm-0.1.0 vs README.md in exception-alarm-1.0.0
- old
+ new
@@ -21,12 +21,12 @@
Add to ApplicationController before filter
``` ruby
class ApplicationController < ActionController::Base
before_filter do
- ExceptionAlarm::Notifier.sender = "project-name@example.com"
- ExceptionAlarm::Notifier.prefix = '[ERROR-project-name]'
- ExceptionAlarm::Notifier.recipients = %w[vakhov@gmail.com]
+ ExceptionAlarm::Mailer.sender = "project-name@example.com"
+ ExceptionAlarm::Mailer.prefix = '[ERROR-project-name]'
+ ExceptionAlarm::Mailer.recipients = %w[vakhov@gmail.com]
end
# ...
end
```