Class: Spree::EmailTemplateDraft

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

Overview

Work in progress on an editable email template, one per store, template and language. Shared by every admin of the store: lock_version refuses a save made from a stale copy, and updated_by says who saved it last.

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