add submitter metadata

This commit is contained in:
Pete Matsyburka committed 2024-02-03 10:29:45 +02:00
1 parent 3781b0aa72
commit 07f0fbb50f
11 files changed
+30 -9

No files matched your search

@@ -30,7 +30,6 @@ module Submitters
)
end
# rubocop:disable Metrics
def generate_stamp_image(submitter)
logo = Vips::Image.new_from_buffer(load_logo(submitter).read, '')
@@ -82,7 +81,6 @@ module Submitters
Vips::Image.text(text, width: WIDTH, height: HEIGHT)
end
# rubocop:enable Metrics
def load_logo(_submitter)
PdfIcons.logo_io
+1 -1
View File
@@ -19,7 +19,7 @@ module Submitters
serialize_params = {
include: {},
only: %i[id slug uuid name email phone completed_at external_id
opened_at sent_at created_at updated_at],
metadata opened_at sent_at created_at updated_at],
methods: %i[status application_key]
}