Sha256: 6d16d29bda6d38c3c761d51427970bbeae7e403ec89541e7b0745446bdf0c6cc
Contents?: true
Size: 424 Bytes
Versions: 9
Compression:
Stored size: 424 Bytes
Contents
module Hippo::API::Handlers class Print def self.getter lambda do template_klass = Hippo::Templates::Latex.for_identifier(params['template_id']) status 404 and return if not template_klass form = template_klass.new(params['model_id']) content_type 'application/pdf' form.as_pdf end end end end
Version data entries
9 entries across 9 versions & 1 rubygems