Class: Spree::Emails::BaseSerializer
- Inherits:
-
Object
- Object
- Spree::Emails::BaseSerializer
- 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.
Direct Known Subclasses
ApiKeySerializer, ExportSerializer, ImportSerializer, InvitationSerializer, StoreSerializer, UserSerializer, WebhookEndpointSerializer