Sha256: 0899ed85e5ff73ba0a25f83fdfb99212e88f21588fb52b0aa772cb888d97a823
Contents?: true
Size: 454 Bytes
Versions: 18
Compression:
Stored size: 454 Bytes
Contents
class BlockingDownstreamHelper < ExtensionHelper attr_reader :colors def initialize(extension, params, builder) super extension, 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
18 entries across 18 versions & 1 rubygems