NAME
Articulate::Augmentaton - add bells and whistles to your response
DESCRIPTION
use Articulate::Augmentation;
$response = augmentation->augment($response);
This will pass the response to a series of augmentation objects, each of which has the opportunity to alter the response according to their own rules, for instance, to retrieve additional related content (e.g. article comments).
Note: the response passed in is not cloned so this will typically mutate the response.
ATTRIBUTES
augmentations
An array of the augmentation classes which will be used.
METHODS
augment
Passes the response object to a series of augmentation objects, and returns the response after each has done their bit.