Class: Spree::Api::V3::Admin::InvitationSerializer

Inherits:
BaseSerializer show all
Defined in:
app/serializers/spree/api/v3/admin/invitation_serializer.rb

Overview

Admin API serializer for Invitation. Used on the staff settings page to list pending invitations and to surface the result of ‘POST /admin/invitations`. Inviter and invitee are flattened to email-only — the full polymorphic identities aren’t useful to the UI.

Method Summary

Methods inherited from BaseSerializer

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