Class: Spree::Emails::BaseSerializer

Inherits:
Object
  • Object
show all
Includes:
Alba::Resource
Defined in:
app/serializers/spree/emails/base_serializer.rb

Overview

Base for the serializers that feed email templates. Emails read plain JSON, the same data a renderer outside Ruby would receive, never models. Never expose a token here: URLs carrying secrets are built by the mailer.