Sha256: 6014effdc9ac579a3dc42aa73a29e6dbf66e4f97cd3753546c961fa53720aec1

Contents?: true

Size: 231 Bytes

Versions: 6

Compression:

Stored size: 231 Bytes

Contents

module <%= format_module_name_for(@format) %>
  class <%= model_exporter_name %> < Para::Exporter::Csv
    exports '<%= class_name %>'

    def name
      'export'
    end

    private

    def fields
      [:id]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
para-0.6.3 lib/generators/para/exporter/templates/csv_exporter.rb
para-0.6.2 lib/generators/para/exporter/templates/csv_exporter.rb
para-0.5.4 lib/generators/para/exporter/templates/csv_exporter.rb
para-0.5.3 lib/generators/para/exporter/templates/csv_exporter.rb
para-0.5.1 lib/generators/para/exporter/templates/csv_exporter.rb
para-0.5.0 lib/generators/para/exporter/templates/csv_exporter.rb