2018-11-18 11:00:15 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-08-17 22:00:37 +05:30
|
|
|
module BlobViewer
|
|
|
|
class PDF < Base
|
|
|
|
include Rich
|
|
|
|
include ClientSide
|
|
|
|
|
|
|
|
self.partial_name = 'pdf'
|
|
|
|
self.extensions = %w(pdf)
|
|
|
|
self.binary = true
|
2021-01-03 14:25:43 +05:30
|
|
|
self.switcher_icon = 'document'
|
2017-08-17 22:00:37 +05:30
|
|
|
self.switcher_title = 'PDF'
|
|
|
|
end
|
|
|
|
end
|