Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

multistamp logger and atomic move #20139

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
lint
  • Loading branch information
cloudmagic80 committed Jan 9, 2025
commit 5b9eb2c35b325bd9cc20b07e7bbea7cf8c7050a3
4 changes: 2 additions & 2 deletions modules/ivc_champva/app/services/ivc_champva/pdf_stamper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def self.stamp(desired_stamp, stamped_template_path, append_to_stamp: false, tex
end
end

# rubocop:disable metrics/method_length, ThreadSafety/ClassInstanceVariable, Layout/LineLength
# rubocop:disable Metrics/MethodLength, ThreadSafety/ClassInstanceVariable, Layout/LineLength
def self.perform_multistamp(stamped_template_path, stamp_path)
out_path = "#{Common::FileHelpers.random_file_path}.pdf"
pdftk = PdfFill::Filler::PDF_FORMS
Expand Down Expand Up @@ -135,7 +135,7 @@ def self.perform_multistamp(stamped_template_path, stamp_path)
end
end
end
# rubocop:enable metrics/method_length, ThreadSafety/ClassInstanceVariable, Layout/LineLength
# rubocop:enable Metrics/MethodLength, ThreadSafety/ClassInstanceVariable, Layout/LineLength

def self.stamp_submission_date(stamped_template_path, desired_stamps)
if desired_stamps.is_a?(Array)
Expand Down
Loading