retort v2.1.0 Retort.Meta
Ensures that the JSONAPI meta is correct for the environment
Summary
Functions
Returns meta
if it is valid for the environment; otherwise, raises an ArgumentError
Functions
valid!(meta, map)
valid!(%{optional(String.t) => binary} | %{beam: binary} | map, %{:ecto_schema_modules => [module, ...], optional(:ecto_repo_module) => Ecto.Repo.t | nil}) :: map
Returns meta
if it is valid for the environment; otherwise, raises an ArgumentError