Class: Decidim::Proposals::DownloadYourDataProposalSerializer
- Inherits:
-
ProposalSerializer
- Object
- Exporters::Serializer
- ProposalSerializer
- Decidim::Proposals::DownloadYourDataProposalSerializer
- Defined in:
- lib/decidim/proposals/download_your_data_proposal_serializer.rb
Instance Method Summary collapse
-
#serialize ⇒ Object
Serializes a Proposal for download your data feature.
Methods inherited from ProposalSerializer
Constructor Details
This class inherits a constructor from Decidim::Proposals::ProposalSerializer
Instance Method Details
#serialize ⇒ Object
Serializes a Proposal for download your data feature
Remove the author information as it is the same of the user that requested the data
10 11 12 |
# File 'lib/decidim/proposals/download_your_data_proposal_serializer.rb', line 10 def serialize super.except!(:author) end |