Sha256: cc83d126d5cdc11ab73f95c953e82f517d0079c9079e6bdd821d6d1bf77ce9e8

Contents?: true

Size: 458 Bytes

Versions: 3

Compression:

Stored size: 458 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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aldous-1.1.2 lib/aldous/configuration.rb
aldous-1.0.1 lib/aldous/configuration.rb
aldous-1.0.0 lib/aldous/configuration.rb