Sha256: 0ab5f9f92b64250cb79b474b7d7c64639c087a25cef32edf2a7fd7494aa50dc7

Contents?: true

Size: 369 Bytes

Versions: 22

Compression:

Stored size: 369 Bytes

Contents

module Errdo
  class Notifier

    include Errdo::Helpers::NotificationHelper

    def initialize(*args)
      exception, string, params = separate_args(*args)
      @parser = Errdo::Models::ErrorLoggerParser.new(exception, string, params)
    end

    def notify
      Errdo.notify_with.each do |notifier|
        notifier.notify(@parser)
      end
    end

  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
errdo-0.12.14 lib/errdo/notifier.rb
errdo-0.12.13 lib/errdo/notifier.rb
errdo-0.12.12 lib/errdo/notifier.rb
errdo-0.12.11 lib/errdo/notifier.rb
errdo-0.12.10 lib/errdo/notifier.rb
errdo-0.12.9 lib/errdo/notifier.rb
errdo-0.12.8 lib/errdo/notifier.rb
errdo-0.12.7 lib/errdo/notifier.rb
errdo-0.12.6 lib/errdo/notifier.rb
errdo-0.12.5 lib/errdo/notifier.rb
errdo-0.12.4 lib/errdo/notifier.rb
errdo-0.12.3 lib/errdo/notifier.rb
errdo-0.12.2 lib/errdo/notifier.rb
errdo-0.12.1 lib/errdo/notifier.rb
errdo-0.12.0 lib/errdo/notifier.rb
errdo-0.11.6 lib/errdo/notifier.rb
errdo-0.11.5 lib/errdo/notifier.rb
errdo-0.11.4 lib/errdo/notifier.rb
errdo-0.11.3 lib/errdo/notifier.rb
errdo-0.11.2 lib/errdo/notifier.rb