Class: Spree::EmailTemplate

Inherits:
Object
  • Object
show all
Includes:
ActedBy, EmailTemplateIdentity, HasStatus
Defined in:
app/models/spree/email_template.rb

Overview

A store's published version of an editable email template (an email, the layout or a shared partial). Found before the template file whenever a customer email renders, so it is what customers receive. Reverting marks it reverted rather than deleting it, so its revisions stay reachable.

Constant Summary

Constants included from EmailTemplateIdentity

Spree::EmailTemplateIdentity::ANY_LOCALE, Spree::EmailTemplateIdentity::LOCALE_FORMAT

Method Summary

Methods included from ActedBy

#acted_by_prefixed_id, #acted_by_type, assume_admin_actor_type, columns_for, models, registered_model_names

Methods included from EmailTemplateIdentity

#default_changed?, #definition