Coherence.ValidateOption (Coherence v0.8.0)

Plug to validate the given option is enabled in the project's configuration.

Summary

Functions

Callback implementation for Plug.call/2.

Callback implementation for Plug.init/1.

Functions

Link to this function

call(conn, opts)

@spec call(Plug.Conn.t(), map()) :: Plug.Conn.t()

Callback implementation for Plug.call/2.

@spec init(keyword() | atom()) :: map()

Callback implementation for Plug.init/1.