Sha256: 18a8fb321061e183ad4eea071edd10358643b15e9e6e519e2ca001f8c0eceaf3
Contents?: true
Size: 288 Bytes
Versions: 5
Compression:
Stored size: 288 Bytes
Contents
module ESV MIME_TYPE = "application/vnd.ms-excel" CONTENT_TYPE = "#{MIME_TYPE}; charset=utf-8" module RailsController private def send_excel(data) send_data( data, type: ESV::CONTENT_TYPE, disposition: "attachment", ) end end end
Version data entries
5 entries across 5 versions & 1 rubygems