Sha256: bbc299cbae3847e4970eebf5520b6b63bec6e0d6dd2d027d91987c368ca2cfc7

Contents?: true

Size: 1.4 KB

Versions: 4

Compression:

Stored size: 1.4 KB

Contents

### Campfire notifier

This notifier sends notifications to your Campfire room.

#### Usage

Just add the [tinder](https://github.com/collectiveidea/tinder) gem to your `Gemfile`:

```ruby
gem 'tinder'
```

To configure it, you need to set the `subdomain`, `token` and `room_name` options, like this:

```ruby
Rails.application.config.middleware.use ExceptionNotification::Rack,
                                        email: {
                                          email_prefix: '[PREFIX] ',
                                          sender_address: %{"notifier" <notifier@example.com>},
                                          exception_recipients: %w{exceptions@example.com}
                                        },
                                        campfire: {
                                          subdomain: 'my_subdomain',
                                          token: 'my_token',
                                          room_name: 'my_room'
                                        }
```

#### Options

##### subdomain

*String, required*

Your subdomain at Campfire.

##### room_name

*String, required*

The Campfire room where the notifications must be published to.

##### token

*String, required*

The API token to allow access to your Campfire account.


For more options to set Campfire, like _ssl_, check [here](https://github.com/collectiveidea/tinder/blob/master/lib/tinder/campfire.rb#L17).

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
exception_notification-4.5.0 docs/notifiers/campfire.md
exception_notification-4.4.3 docs/notifiers/campfire.md
exception_notification-4.4.1 docs/notifiers/campfire.md
exception_notification-4.4.0 docs/notifiers/campfire.md