module AttachmentToHTML module Adapters class CouldNotConvert attr_reader :attachment # Public: Initialize a PDF converter # # attachment - the FoiAttachment to convert to HTML # opts - a Hash of options (default: {}): # No options currently accepted def initialize(attachment, opts = {}) @attachment = attachment end # Public: The title to use in the
Sorry, we were unable to convert this file to HTML. " \ "Please use the download link at the top right.
" end end end end