Sha256: 17e81fa06dc06b516d601d61aa76a49ccb4f2e80a182fcd2d4d92ec0cdbcc504

Contents?: true

Size: 682 Bytes

Versions: 1

Compression:

Stored size: 682 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 'will_paginate'
require 'will_paginate/active_record'

module ExceptionTrack
  class << self
    def config
      return @config if defined?(@config)
      @config = Configuration.new
      @config.environments = %i(development test 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.1.0 lib/exception-track.rb