Module: Decidim::Exporters
- Defined in:
- lib/decidim/exporters.rb,
lib/decidim/exporters/csv.rb,
lib/decidim/exporters/pdf.rb,
lib/decidim/exporters/json.rb,
lib/decidim/exporters/excel.rb,
lib/decidim/exporters/exporter.rb,
lib/decidim/exporters/export_data.rb,
lib/decidim/exporters/export_manifest.rb,
app/serializers/decidim/exporters/serializer.rb,
app/serializers/decidim/exporters/participatory_space_components_serializer.rb
Defined Under Namespace
Classes: CSV, Excel, ExportData, ExportManifest, Exporter, JSON, PDF, ParticipatorySpaceComponentsSerializer, Serializer
Class Method Summary collapse
-
.find_exporter(format) ⇒ Object
Get the exporter class constant from the format as a string.
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 'lib/decidim/exporters.rb', line 21 def self.find_exporter(format) const_get(format) end |