From 477a7e402c11cfe73a6edc80ce4fa6d4a57eb7f1 Mon Sep 17 00:00:00 2001 From: Niklas Lindgren Date: Tue, 8 Feb 2022 17:04:03 +0000 Subject: [PATCH] docs: finish incomplete example --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index cd567f1..e4cfae3 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,10 @@ defmodule MyApp.Erebus do Erebus.encrypt(struct, handle, version, opts) end - def decrypt() do + def decrypt(struct, fields) do opts = Application.get_env(:my_app, :erebus) + + Erebus.decrypt(struct, fields, opts) end end ```