mirror of
https://github.com/docusealco/docuseal
synced 2026-11-07 07:22:32 -05:00
add pdf generation
This commit is contained in:
1 parent
170cb1ecea
commit
6a41f82e5b
21 files changed
+383
-49
No files matched your search
@@ -0,0 +1,15 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module PdfIcons
|
||||
PATH = Rails.root.join('lib/pdf_icons')
|
||||
|
||||
module_function
|
||||
|
||||
def check_io
|
||||
@check_io ||= StringIO.new(PATH.join('check.png').read)
|
||||
end
|
||||
|
||||
def paperclip_io
|
||||
@paperclip_io ||= StringIO.new(PATH.join('paperclip.png').read)
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user