liberator-mixin.context.core
Liberator mixins to add attributes to the context map for all requests.
with-attribute-in-context
(with-attribute-in-context key value)Returns a mixin that adds an attribute with specified value to the context map at key for all requests.
This mixin can be used multiple times for different attributes.
with-attributes-in-context
(with-attributes-in-context & {:as attributes})Returns a mixin that adds all attributes supplied as key / value pairs to the context map for all requests.
This mixin can be used multiple times.