Module: Decidim::Exporters

Defined in:
decidim-core/app/serializers/decidim/exporters/serializer.rb,
decidim-core/app/serializers/decidim/exporters/participatory_space_components_serializer.rb,
decidim-forms/lib/decidim/forms.rb,
decidim-core/lib/decidim/exporters.rb,
decidim-core/lib/decidim/exporters/csv.rb,
decidim-core/lib/decidim/exporters/pdf.rb,
decidim-core/lib/decidim/exporters/json.rb,
decidim-core/lib/decidim/exporters/excel.rb,
decidim-core/lib/decidim/exporters/exporter.rb,
decidim-forms/lib/decidim/exporters/form_pdf.rb,
decidim-core/lib/decidim/exporters/export_data.rb,
decidim-core/lib/decidim/exporters/export_manifest.rb,
decidim-forms/lib/decidim/exporters/form_pdf_controller_helper.rb

Defined Under Namespace

Classes: CSV, Excel, ExportData, ExportManifest, Exporter, FormPDF, FormPDFControllerHelper, JSON, PDF, ParticipatorySpaceComponentsSerializer, Serializer

Class Method Summary collapse

Class Method Details

.find_exporter(format) ⇒ Object

Get the exporter class constant from the format as a string.

format - The exporter format as a string. i.e “CSV”


21
22
23
# File 'decidim-core/lib/decidim/exporters.rb', line 21

def self.find_exporter(format)
  const_get(format)
end