Class: Spree::Api::V3::Admin::ExportSerializer

Inherits:
ExportSerializer show all
Defined in:
app/serializers/spree/api/v3/admin/export_serializer.rb

Overview

Admin API serializer for Export.

‘download_url` is the path to our own download endpoint, not a pre-signed ActiveStorage URL — the controller streams bytes inline so the JWT auth flow runs on every download and works through the SPA’s ‘/api/*`-only dev proxy.

Method Summary

Methods inherited from BaseSerializer

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