Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

relatel/adhearsion-reporter

 
 

Repository files navigation

adhearsion-reporter

Report Adhearsion application exceptions and deployments to:

This Adhearsion plugin requires Adhearsion 2.0 or later. For Adhearsion 1.0 try the previous version of this gem ahn_hoptoad

Usage

To use this gem, add the following line to your Gemfile:

gem 'adhearsion-reporter'

To view the available configuration options, run the rake task:

rake adhearsion:config:show[reporter]

The configuration options are added to config/adhearsion.rb with the rest of Adhearsion's configuration. Example:

Adhearsion.config do |config|
  config.reporter.api_key = "YOUR API KEY HERE"
end

Email Notifier

Email notification uses the pony gem. The email configuration key is passed to Pony on initialization using Pony.options.

To set the destination address and the sender address, for example, you can use:

Adhearsion::Reporter.config.email = {
  via: :sendmail,
  to: 'recv@domain.ext',
  from: 'send@domain.ext'
}

Copyright

Copyright (C) 2012 Adhearsion Foundation Inc. Released under the MIT License - Check License file

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%