StrawHat.Mailer v2.0.0 StrawHat.Mailer.Partial View Source
A Partial entity.
Link to this section Summary
Types
title
: Human readable title.name
: The partial identificator and is used for index the rendered content of partial in the template body.html
: Thehtml
is a Mustache template that will be used when you call the partial on your template.text
: Thetext
is a Mustache template that will be used when you call the partial on your template.privacy
: CheckStrawHat.Mailer.Privacy.t/0
for more information.owner_id
: CheckStrawHat.Mailer.owner_id/0
for more information
Link to this section Types
Link to this type
partial_attrs() View Source
Link to this type
t()
View Source
t()
View Source
t() :: %StrawHat.Mailer.Partial{
__meta__: term(),
html: String.t(),
id: term(),
inserted_at: term(),
name: String.t(),
owner_id: StrawHat.Mailer.owner_id(),
privacy: StrawHat.Mailer.Privacy.t(),
text: String.t(),
title: String.t(),
updated_at: term()
}
t() :: %StrawHat.Mailer.Partial{ __meta__: term(), html: String.t(), id: term(), inserted_at: term(), name: String.t(), owner_id: StrawHat.Mailer.owner_id(), privacy: StrawHat.Mailer.Privacy.t(), text: String.t(), title: String.t(), updated_at: term() }
title
: Human readable title.name
: The partial identificator and is used for index the rendered content of partial in the template body.html
: Thehtml
is a Mustache template that will be used when you call the partial on your template.text
: Thetext
is a Mustache template that will be used when you call the partial on your template.privacy
: CheckStrawHat.Mailer.Privacy.t/0
for more information.owner_id
: CheckStrawHat.Mailer.owner_id/0
for more information.
Link to this section Functions
Link to this function
changeset(partial, partial_attrs)
View Source
changeset(partial, partial_attrs)
View Source
changeset(t(), partial_attrs()) :: Ecto.Changeset.t()
changeset(t(), partial_attrs()) :: Ecto.Changeset.t()