An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
PlaceOS::Model::PendingMail
Inherits Neuroplastic < PgORM::Timestamps < PgORM::Base < PgORM::Validators < PgORM::Table < PgORM::Persistence < PgORM::Associations < ActiveModel::Callbacks < ActiveModel::Validation < ActiveModel::Model < DB::Mappable < DB::Serializable < YAML::Serializable < JSON::Serializable < Reference < Object
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Constants
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
macro level key => type
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Constructors
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Deserializes the given JSON in string_or_io into
an instance of self, assuming the JSON consists
of an JSON object with key root, and whose value is
the value to deserialize. Will not deserialise from
fields with mass_assign: false
class User < ActiveModel::Model
attribute name : String
attribute google_id : UUID, mass_assign: false
end
User.from_json(%({"main": {"name": "Jason", "google_id": "f6f70bfb-c882-446d-8758-7ce47db39620"}}), root: "main") # => #<User:0x103131b20 @name="Jason">
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Class methods
Returns all attribute keys.
Changefeed at row (if id passed) or whole table level.
Returns a ChangeFeed instance which can be used to invoke async callbacks via on or
use blocking Iterator via each method.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Instance methods
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Generate code to apply default values
args getter
NOTE: use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
values injected into the template. Restricted to JSON scalar values; nested objects/arrays are rejected on deserialization.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include args in the set of changed attributes, whether it has changed or not.
Assign to multiple attributes.
Assign to multiple attributes via HTTP::Params.
Assign to multiple attributes from a model object
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Assign each field from JSON if field exists in JSON and has changed in model
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Uses the YAML parser as JSON is valid YAML
attachments getter
NOTE: use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include attachments in the set of changed attributes, whether it has changed or not.
Returns a Hash of all attribute values
Returns a NamedTuple of all attribute values.
authority_id getter
authority_id setter
NOTE: use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include authority_id in the set of changed attributes, whether it has changed or not.
bcc getter
NOTE: use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include bcc in the set of changed attributes, whether it has changed or not.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
cc getter
NOTE: use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include cc in the set of changed attributes, whether it has changed or not.
Check if any attributes have changed.
Returns a Hash with all changed attributes.
Serialize the set of changed attributes to JSON.
Serialize the set of changed attributes to JSON.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Serialize the set of changed attributes to YAML.
Serialize the set of changed attributes to YAML.
Reset changes for all attributes.
created_at getter
Setters
created_at setter
NOTE: use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
created_at's default value
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include created_at in the set of changed attributes, whether it has changed or not.
expiry getter
expiry setter
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
after which the email should not be sent
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include expiry in the set of changed attributes, whether it has changed or not.
id getter
id setter
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
id's default value
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include id in the set of changed attributes, whether it has changed or not.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
rejected_at getter
rejected_at setter
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include rejected_at in the set of changed attributes, whether it has changed or not.
rejected_reason getter
rejected_reason setter
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include rejected_reason in the set of changed attributes, whether it has changed or not.
reply_to getter
reply_to setter
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include reply_to in the set of changed attributes, whether it has changed or not.
resource_attachments getter
NOTE: use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
upload id references. If an upload is deleted, its id is removed from
these arrays via Upload's before_destroy callback.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include resource_attachments in the set of changed attributes, whether it has changed or not.
Reset each attribute to their previous values and clears all changes.
send_at getter
send_at setter
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
schedule a send for this time (or later); nil sends as soon as processed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include send_at in the set of changed attributes, whether it has changed or not.
send_from getter
send_from setter
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include send_from in the set of changed attributes, whether it has changed or not.
send_to getter
NOTE: use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
recipients (exact match)
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include send_to in the set of changed attributes, whether it has changed or not.
sent_at getter
sent_at setter
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Monitoring: populated as the mail is processed. sent_by and
rejected_reason are free-form text (e.g. a worker/service name or a
human-readable reason).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include sent_at in the set of changed attributes, whether it has changed or not.
sent_by getter
sent_by setter
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include sent_by in the set of changed attributes, whether it has changed or not.
source_reference getter
source_reference setter
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include source_reference in the set of changed attributes, whether it has changed or not.
source_service getter
source_service setter
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Free-form provenance, indexed for filtering (e.g. which service queued the mail and an external reference/correlation id).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include source_service in the set of changed attributes, whether it has changed or not.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
template getter
NOTE: use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
names which resolve to the template to be sent
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include template in the set of changed attributes, whether it has changed or not.
updated_at getter
updated_at setter
NOTE: use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
updated_at's default value
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include updated_at in the set of changed attributes, whether it has changed or not.
user_id getter
user_id setter
NOTE: use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include user_id in the set of changed attributes, whether it has changed or not.
Validate that all non-nillable fields have values.
zones getter
NOTE: use getter / getter! (not property / property!) so that the
setter defined later in __create_initializer__ is the only setter on
the field. Crystal's overload resolution silently fails to replace a
property-defined setter with one of identical signature for generic
types (e.g. Set(String)?, Array(String)?, String | Array(String)),
although it does work for non-generic ones like String?. Defining the
setter only once via __create_initializer__ ensures change tracking,
sanitization, and custom setter blocks run uniformly across all types.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Returns a Tuple of the previous and the current value of an instance variable if it has changed
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
zone id references. If a zone is deleted, its id is removed from this
array via Zone's before_destroy callback.
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
An email queued for later processing/sending. Each row belongs to an
authority and to the user who triggered it. The actual content is
described by a template (a list of names resolving to a template) plus
args injected into it. attachments/resource_attachments reference
Upload ids; those ids are pruned automatically when an upload is
deleted (see Upload#remove_from_pending_mail). zones references zone
ids and is pruned when a zone is deleted (see Zone#remove_array_references).
Include zones in the set of changed attributes, whether it has changed or not.