Class: Spree::Api::V3::Admin::PriceRuleSerializer
- Inherits:
-
BaseSerializer
- Object
- BaseSerializer
- Spree::Api::V3::Admin::PriceRuleSerializer
- Defined in:
- app/serializers/spree/api/v3/admin/price_rule_serializer.rb
Overview
Serializes Spree::PriceRule (STI subclasses live under Spree::PriceRules). Same shape as PromotionRuleSerializer so the SPA can drive both editors from one generic preference-form component.
Method Summary
Methods inherited from BaseSerializer
#current_currency, #current_locale, #current_store, #current_user, #expand?, #expands, #nested_expands_for, #nested_params