From 3a9feb0784680e73971fbef4a0c887a1a9992796 Mon Sep 17 00:00:00 2001 From: Tommi Reiman Date: Sun, 3 Dec 2017 17:52:28 +0200 Subject: [PATCH] FIx coercion docs --- doc/ring/coercion.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/ring/coercion.md b/doc/ring/coercion.md index 2eca58f8..4777b28a 100644 --- a/doc/ring/coercion.md +++ b/doc/ring/coercion.md @@ -200,9 +200,9 @@ To plug in new validation engine, see the (defprotocol Coercion "Pluggable coercion protocol" (get-name [this] "Keyword name for the coercion") - (compile [this model name] "Compiles a coercion model") (get-apidocs [this model data] "???") - (make-open [this model] "Returns a new map model which doesn't fail on extra keys") + (compile-model [this model name] "Compiles a coercion model") + (open-model [this model] "Returns a new map model which doesn't fail on extra keys") (encode-error [this error] "Converts error in to a serializable format") (request-coercer [this type model] "Returns a `value format => value` request coercion function") (response-coercer [this model] "Returns a `value format => value` response coercion function"))