Sha256: cffe45c688d64e2e8dbbf05334928c2ef6baec0f17acbe5dca97ffb59c9362d4
Contents?: true
Size: 446 Bytes
Versions: 4
Compression:
Stored size: 446 Bytes
Contents
class <%= model_exporter_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
4 entries across 4 versions & 1 rubygems