Sha256: 2cefada944b50af4e6b70bfbde54277fe6e8a5c06108cf7066e119602289f47c

Contents?: true

Size: 560 Bytes

Versions: 1

Compression:

Stored size: 560 Bytes

Contents

# Exception Alarm

This gem refactored clone of exception notifier plugin.

## Installation

Add this line to your application's Gemfile:

``` ruby
gem 'exception-alarm'
```

And then execute:

```
$ bundle
```

## Usage

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]
  end

  # ...
end
```

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
exception-alarm-0.1.0 README.md