class Pipeline

Overview

An [] of PipelineAction.

Included Modules

Defined in:

cr-pipeline/pipeline.cr
cr-pipeline/version.cr

Constant Summary

VERSION = "0.1.0"

Instance Method Summary

Instance methods inherited from module PipelineAction

invoke(payload : Object) : Object invoke

Instance Method Detail

def invoke(payload : Object) : Object #

Overloads PipelineAction::invoke so that a Pipeline is itself a PipelineAction.


[View source]
def process(payload : Object) : Object #

Starts the Pipeline's processing of payload.

For each action, payload is returned. This allows further processing if payload is modified.

Returns the processed payload.


[View source]