retort v2.5.0 Retort.Meta View Source
Ensures that the JSONAPI meta is correct for the environment
Link to this section Summary
Functions
Returns meta
if it is valid for the environment; otherwise, raises an ArgumentError
Link to this section Functions
Link to this function
valid!(meta, options)
View Source
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