Class: ConcurrentPipeline::Pipeline::PipelineStep

Inherits:
Object
  • Object
show all
Extended by:
Model
Defined in:
lib/concurrent_pipeline/pipeline.rb

Overview

type: PipelineStep,
pipeline_id: [MyPipeline, :vhost, 1],
name: {string,
result: nil | :success | :failure,
completed_at: nil | timestamp,
sequence: 3

}

Instance Method Summary collapse

Methods included from Model

attribute, attributes, extended, inherited

Instance Method Details

#success?Boolean

Returns:

  • (Boolean)


26
27
28
# File 'lib/concurrent_pipeline/pipeline.rb', line 26

def success?
  result == :success
end