Class: Spree::Api::V3::Admin::CustomerGroupSerializer
- Inherits:
-
BaseSerializer
- Object
- BaseSerializer
- Spree::Api::V3::Admin::CustomerGroupSerializer
- Defined in:
- app/serializers/spree/api/v3/admin/customer_group_serializer.rb
Overview
Serializes Spree::CustomerGroup for the admin pickers (e.g. promotion rule, customer-group filters). Surfaces only what the admin UI needs to display + select rows.
Method Summary
Methods inherited from BaseSerializer
#current_currency, #current_locale, #current_store, #current_user, #expand?, #expands, #nested_expands_for, #nested_params