Class: Decidim::Debates::DownloadYourDataDebateSerializer
- Inherits:
-
DebateSerializer
- Object
- Exporters::Serializer
- DebateSerializer
- Decidim::Debates::DownloadYourDataDebateSerializer
- Defined in:
- decidim-debates/app/serializers/decidim/debates/download_your_data_debate_serializer.rb
Constant Summary
Constants included from AmendmentsHelper
Instance Attribute Summary
Attributes inherited from Exporters::Serializer
Instance Method Summary collapse
-
#serialize ⇒ Object
Serializes a Debate for download your data feature.
Methods included from ResourceHelper
#linked_classes_filter_values_for, #linked_classes_for, #resource_locator
Methods included from ApplicationHelper
#add_body_classes, #cell, #edit_link, #extra_admin_link, #html_truncate, #layout_item_classes, #present, #prevent_timeout_seconds, #resolve_presenter_class, #text_initials
Methods included from CacheHelper
Methods included from AmendmentsHelper
#accept_and_reject_buttons_for, #action_button_card_for, #allowed_to_accept_and_reject?, #allowed_to_promote?, #amendments_enabled?, #amendments_form_field_for, #amendments_form_fields_label, #amendments_form_fields_value, #can_participate_in_private_space?, #can_react_to_emendation?, #current_step, #emendation_actions_for, #emendation_announcement_for, #promote_button_for, #render_emendation_body, #total_steps, #wizard_aside_back_url, #wizard_header_title
Methods included from RichTextEditorHelper
Methods included from ContextualHelpHelper
Methods included from Decidim::DecidimFormHelper
#areas_for_select, #base_error_messages, #decidim_form_for, #decidim_form_slug_url, #editor_field_tag, #form_field_has_error?, #form_required_explanation, #name_with_locale, #tab_element_class_for, #translated_field_tag
Methods included from OmniauthHelper
#normalize_provider_name, #oauth_icon, #provider_name
Methods inherited from Exporters::Serializer
#event_name, #finalize, #initialize, #run
Constructor Details
This class inherits a constructor from Decidim::Exporters::Serializer
Instance Method Details
#serialize ⇒ Object
Serializes a Debate 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 'decidim-debates/app/serializers/decidim/debates/download_your_data_debate_serializer.rb', line 10 def serialize super.except!(:author) end |