Sha256: 06cd235a4e0bb71450c0e50049208beae17430af3e9b3e36872362ca9227f3d7
Contents?: true
Size: 446 Bytes
Versions: 48
Compression:
Stored size: 446 Bytes
Contents
class <%= exporter_class_name %> < Para::Exporter::Base def name '<%= file_name %>' end protected def generate # Add your export logic here, returning the exported data that will be # stored with Paperclip and then directly served to the user end def extension '.<%= @format %>' end # If your #generate method returns binary data, uncomment the following # method. # # def binary? # true # end end
Version data entries
48 entries across 48 versions & 1 rubygems