1 2 3 4 5 6 7 8 9 10 11 12 13 14
# frozen_string_literal: true module BlobViewer class PDF < Base include Rich include ClientSide self.partial_name = 'pdf' self.extensions = %w(pdf) self.binary = true self.switcher_icon = 'file-pdf-o' self.switcher_title = 'PDF' end end