Skip to content

Commit

Permalink
Merge pull request #3 from gordalina/sg/fix-doc
Browse files Browse the repository at this point in the history
Fix documentation
  • Loading branch information
gordalina committed Jun 9, 2021
2 parents cb359e1 + c08df44 commit 8dd8a99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/hush.ex
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ defmodule Hush do
"""

@doc """
Resolve configuration of all loaded applications
Resolve configuration
When called with resolve!/0 it will default to all loaded applications' configuration.
When called with resolve!/1 with the configuration as an arugment it will process that.
"""
@spec resolve!() :: Keyword.t()
def resolve!() do
runtime_config() |> resolve!()
end

@doc """
Resolve configuration passed as an argument
"""
@spec resolve!(Keyword.t()) :: Keyword.t()
def resolve!(config) when is_list(config) do
config |> load_providers!()
Expand Down

0 comments on commit 8dd8a99

Please sign in to comment.