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_archived_webh...

11 lines
335 B

# frozen_string_literal: true
class SendTemplateArchivedWebhookRequestJob
include WebhookRequestJob
webhook_request event_type: 'template.archived',
record_class: Template,
record_id_param: 'template_id',
data: ->(template) { template.as_json(only: %i[id archived_at]) }
end