Sha256: 4811da121e88058b68fa31cd39dbd1bb95c45bb2e6ba50e3b3075c1266f98b4e

Contents?: true

Size: 492 Bytes

Versions: 1

Compression:

Stored size: 492 Bytes

Contents

module Errplane
  class Configuration
    attr_accessor :api_key
    attr_accessor :application_id

    attr_accessor :logger
    attr_accessor :environment_name
    attr_accessor :project_root
    attr_accessor :framework
    attr_accessor :ignored_exceptions

    DEFAULT_IGNORED_EXCEPTIONS = %w{ActiveRecord::RecordNotFound
                                    ActionController::RoutingError}

    def initialize
      @ignored_exceptions = DEFAULT_IGNORED_EXCEPTIONS.dup
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
errplane-0.0.2 lib/errplane/configuration.rb