refactor pdf info creator

pull/217/head
Pete Matsyburka 2 years ago
parent 6d7d8ae87c
commit de13d8d397

@ -17,7 +17,6 @@ module Submissions
'Helvetica'
end
INFO_CREATOR = "#{Docuseal.product_name} (#{Docuseal::PRODUCT_URL})".freeze
SIGN_REASON = 'Signed with DocuSeal.co'
VERIFIED_TEXT = 'Verified'
UNVERIFIED_TEXT = 'Unverified'
@ -268,7 +267,7 @@ module Submissions
io = StringIO.new
composer.document.trailer.info[:Creator] = INFO_CREATOR
composer.document.trailer.info[:Creator] = "#{Docuseal.product_name} (#{Docuseal::PRODUCT_URL})"
sign_params = {
reason: SIGN_REASON,

@ -10,7 +10,6 @@ module Submissions
'Helvetica'
end
INFO_CREATOR = "#{Docuseal.product_name} (#{Docuseal::PRODUCT_URL})".freeze
SIGN_REASON = 'Signed by %<name>s with DocuSeal.co'
SIGN_SIGNLE_REASON = 'Digitally signed with DocuSeal.co'
@ -344,7 +343,7 @@ module Submissions
end
def info_creator
INFO_CREATOR
"#{Docuseal.product_name} (#{Docuseal::PRODUCT_URL})"
end
def h

Loading…
Cancel
Save