Sha256: 9102cebf603f8fe072ce4bbe4bc3e72a4185a84a6a1f510e145edd9f8a218bff

Contents?: true

Size: 543 Bytes

Versions: 2

Compression:

Stored size: 543 Bytes

Contents

# Global configuration for {CarrotRpc}.  Access with {CarrotRpc.configuration}.
class CarrotRpc::Configuration
  attr_accessor :logger, :logfile, :loglevel, :daemonize, :pidfile, :runloop_sleep, :autoload_rails, :bunny,
                :before_request

  # logfile - set logger to a file. overrides rails logger.

  def initialize
    @logfile = nil
    @loglevel = Logger::DEBUG
    @logger = nil
    @daemonize = false
    @pidfile = nil
    @runloop_sleep = 0
    @autoload_rails = true
    @bunny = nil
    @before_request = nil
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
carrot_rpc-0.4.1 lib/carrot_rpc/configuration.rb
carrot_rpc-0.4.0 lib/carrot_rpc/configuration.rb