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

Link to this section Summary

Functions

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

Link to this section 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.