Skip to content

Commit

Permalink
docs: finish incomplete example
Browse files Browse the repository at this point in the history
  • Loading branch information
nikcorg committed Feb 8, 2022
1 parent abfda2b commit 477a7e4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand Down

0 comments on commit 477a7e4

Please sign in to comment.