Class: Spree::Api::V3::Admin::GiftCardSerializer

Inherits:
GiftCardSerializer show all
Defined in:
app/serializers/spree/api/v3/admin/gift_card_serializer.rb

Overview

Admin serializer extends the store-facing one with operational context the admin UI needs: who the card was issued to (customer), who issued it (admin), and the orders that consumed it.

Method Summary

Methods inherited from BaseSerializer

#current_currency, #current_locale, #current_store, #current_user, #expand?, #expands, #nested_expands_for, #nested_params