mirror of https://github.com/docusealco/docuseal
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
318 B
19 lines
318 B
# frozen_string_literal: true
|
|
|
|
module PdfIcons
|
|
PATH = Rails.root.join('lib/pdf_icons')
|
|
|
|
WIDTH = 240
|
|
HEIGHT = 240
|
|
|
|
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
|