Sha256: 59c597806cfe32291e4e04ea2e0c0a30201b1abdd4366576352c0988e3d1ddb0

Contents?: true

Size: 507 Bytes

Versions: 1

Compression:

Stored size: 507 Bytes

Contents

require 'aldous/dummy_error_reporter'
require 'aldous/dummy_logger'
require 'aldous/stdout_logger'

module Aldous
  class Configuration
    attr_accessor :error_reporter,
      :logger,
      :controller_methods_exposed_to_action,
      :error_handler

    def initialize
      @error_reporter = ::Aldous::DummyErrorReporter
      @logger = ::Aldous::StdoutLogger
      @error_handler = nil

      @controller_methods_exposed_to_action = [:params, :session, :cookies, :request, :response]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aldous-1.1.3 lib/aldous/configuration.rb