Sha256: 08ca2e858922f46b657e8eb3251cf597d0e3d612e5a3bb9f5170205527499186

Contents?: true

Size: 309 Bytes

Versions: 3

Compression:

Stored size: 309 Bytes

Contents

class UniformNotifier
  class RollbarNotifier < Base
    def self.active?
      !!UniformNotifier.rollbar
    end

    protected

    def self._out_of_channel_notify(data)
      message = data.values.compact.join("\n")

      exception = Exception.new(message)
      Rollbar.info(exception)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uniform_notifier-1.11.0 lib/uniform_notifier/rollbar.rb
uniform_notifier-1.10.0 lib/uniform_notifier/rollbar.rb
uniform_notifier-1.9.0 lib/uniform_notifier/rollbar.rb