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.
docuseal/app/jobs/send_template_updated_webho...

13 lines
365 B

# frozen_string_literal: true
class SendTemplateUpdatedWebhookRequestJob
include WebhookRequestJob
def perform(params = {})
perform_webhook_request(params, record_key: 'template_id', record_class: Template,
event_type: 'template.updated') do |template|
Templates::SerializeForApi.call(template)
end
end
end