Sha256: 64e914fb53baae7bd808066de85cfa199a4c452343ac95e9c82702cecb9755bb

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

require 'exception-track/version'
require 'exception-track/configuration'
require 'exception-track/engine'

require 'exception_notification'
require 'exception_notification/rails'
require 'exception_notifier/exception_track_notifier'

require 'kaminari'

module ExceptionTrack
  class << self
    def config
      return @config if defined?(@config)
      @config = Configuration.new
      @config.environments = %i(development production)
      @config
    end

    def configure(&block)
      config.instance_exec(&block)
    end
  end
end

ExceptionNotification.configure do |config|
  config.add_notifier :exception_track, {}
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
exception-track-0.2.0 lib/exception-track.rb