add submitter metadata
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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]
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user