Sha256: a240e291d36e55933923a3f5eb95ce7f8a86c3ff2f9110642f72d6edb6ef037d
Contents?: true
Size: 457 Bytes
Versions: 5
Compression:
Stored size: 457 Bytes
Contents
module JenkinsJob module Common class Throttle < BasicObject attr_reader :categories_, :max_per_node_, :max_total_ def initialize @max_per_node_ = 1 @max_total_ = 0 end def max_per_node(value) @max_per_node_ = value end def max_total(value) @max_total_ = value end def category(*value) @categories_ = value end end end end
Version data entries
5 entries across 5 versions & 1 rubygems