View Source OpenRtbEcto.V2.Native.Helper (OpenRtbEcto v0.6.5)

Summary

Functions

Validates that there is max one item from the media list present in the changeset of the response and request asset objects.

Functions

Link to this function

validate_media(changeset)

View Source
@spec validate_media(Ecto.Changeset.t()) :: Ecto.Changeset.t()

Validates that there is max one item from the media list present in the changeset of the response and request asset objects.