StrawHat.Mailer v0.4.1 StrawHat.Mailer.Schema.TemplatePartial View Source
Represents a TemplatePartial Ecto Schema relation.
Link to this section Summary
Types
- template_id: The
template_id
is a reference to templates schema. - partial_id: The
partial_id
is a reference to partials schema
Check t
type for more information about the keys
Functions
Validate the attributes and return a Ecto.Changeset for the current Template Partial
Link to this section Types
- template_id: The
template_id
is a reference to templates schema. - partial_id: The
partial_id
is a reference to partials schema.
Check t
type for more information about the keys.
Link to this section Functions
Link to this function
changeset(template_partial, template, partial, params \\ %{})
View Source
changeset(t(), StrawHat.Mailer.Schema.Template.t(), StrawHat.Mailer.Schema.Partial.t(), map()) :: Ecto.Changeset.t()
Validate the attributes and return a Ecto.Changeset for the current Template Partial.