Sha256: 48a230f9915efb40fc373e1f20b85cd678e17d59efe2a83adfa9aea0f5335eb9

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

module <%= format_module_name_for(@format) %>
  class <%= model_exporter_name %> < Para::Exporter::Base
    def extension
      '<%= @format %>'
    end

    def name
      'export'
    end

    def render
      # Add your export logic here
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
para-0.4.0 lib/generators/para/exporter/templates/base_exporter.rb