Sha256: b3eacf9ef4fd629decf900a46622fef97a38e237682d4f15b2b27294e0f5e02a
Contents?: true
Size: 432 Bytes
Versions: 9
Compression:
Stored size: 432 Bytes
Contents
class BlockingDownstreamHelper < ExtensionHelper attr_reader :colors def initialize(params, builder) super params, builder, defaults @colors = { 'SUCCESS' => { ordinal: 0, color: 'BLUE' }, 'FAILURE' => { ordinal: 2, color: 'RED' }, 'UNSTABLE' => { ordinal: 1, color: 'YELLOW' } } end def defaults { data: [{ params: '' }], trigger_with_no_parameters: false } end end
Version data entries
9 entries across 9 versions & 1 rubygems