Sha256: 03c9071d8d3aafffe3213a7ad63cd0bfaa929166fddf4dccdc8e124cc1f2d9f3
Contents?: true
Size: 484 Bytes
Versions: 1
Compression:
Stored size: 484 Bytes
Contents
module UniformNotifier class BugsnagNotifier < Base def self.active? !!UniformNotifier.bugsnag end protected def self._out_of_channel_notify(data) opt = {} if UniformNotifier.bugsnag.is_a?(Hash) opt = UniformNotifier.bugsnag end exception = Exception.new(data[:title]) Bugsnag.notify(exception, opt.merge( :grouping_hash => data[:body] || data[:title], :notification => data, )) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
uniform_notifier-1.6.1 | lib/uniform_notifier/bugsnag.rb |