Sha256: d0ca2972b18efb64be3ba3c796aab8e60fe9ab25b1d225be07579e869fe90a57
Contents?: true
Size: 434 Bytes
Versions: 7
Compression:
Stored size: 434 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
7 entries across 7 versions & 1 rubygems