The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Articulate::Role::Flow - methods

DESCRIPTION

This is a helper class for flow roles. All consumers of this role must have a process_method method which can be called as follows:

  $self->process_method( $methodname, $item, $request );

This role provides a method _delegate which can be used to delegate to other providers. It is called as:

  $self->_delegate( $method, $providers, $args )

where $providers and $args are arrayrefs.

METHODS

enrich

  $self->enrich($item);

Does

  $self->process_method( enrich => $item );

augment

  $self->augment($item);

Does

  $self->process_method( augment => $item );