Sha256: 54c0d5fae126f5142fbfd7b4363f2aeb7e4aa2856743ea1558a6e4bfbfc4a96f
Contents?: true
Size: 602 Bytes
Versions: 22
Compression:
Stored size: 602 Bytes
Contents
require 'hashr' require 'logger' require 'evrone/ci/common/tagged_logging' module Evrone module CI class Router class Configuration < ::Hashr extend Hashr::EnvDefaults self.env_namespace = 'ci_router' self.raise_missing_keys = true define amqp_url: nil, timeout: 30 * 60, logger: Common::TaggedLogging.new(Logger.new STDOUT), workers: 1, webdav_cache_url: nil def timeout self[:timeout].to_i end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems