StrawHat.Mailer v2.0.0 StrawHat.Mailer.TemplatePartial View Source

Template's Partial entity.

Link to this section Summary

Link to this section Types

Link to this type

t() View Source
t() :: %StrawHat.Mailer.TemplatePartial{
  __meta__: term(),
  id: term(),
  inserted_at: term(),
  partial: StrawHat.Mailer.Partial.t() | Ecto.Association.NotLoaded.t(),
  partial_id: Integer.t(),
  template: StrawHat.Mailer.Template.t() | Ecto.Association.NotLoaded.t(),
  template_id: Integer.t(),
  updated_at: term()
}

Link to this type

template_partial_attrs() View Source
template_partial_attrs() :: %{template_id: Integer.t(), partial_id: Integer.t()}

Link to this section Functions

Link to this function

changeset(template_partial, template, partial, params \\ %{}) View Source