data Bezel::Pipeline
include Bezel::Plug
A plug running other plugs in order (a pipeline as one plug), halting when one of them does.
Methods
def plugs -> Array[Bezel::Plug]
def with(*, plugs: Array[Bezel::Plug] = …) -> Bezel::Pipeline
A copy with the fields given replaced.
def to_h -> Hash[Symbol, Object]
The fields as a Hash, by name.
def call(conn: Bezel::Conn) -> Bezel::Conn
The connection changed by this plug.
from Bezel::Plug
def wrap(conn: Bezel::Conn, rest: (Bezel::Conn) -> Bezel::Conn) -> Bezel::Conn
Runs this plug, then rest (the plugs after it) unless it halted.
Override it to act around the rest: its result is the request's.
from Bezel::Plug