Sha256: 623d2775aa87c32bb2f59a257ef1cef5cff5f0a06992bfc5846b48c87752d2ff

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 Bytes

Contents

module 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

1 entries across 1 versions & 1 rubygems

Version Path
uniform_notifier-1.8.0 lib/uniform_notifier/rollbar.rb