add reply to param

This commit is contained in:
Pete Matsyburka
2024-03-24 14:09:28 +02:00
parent 8bef75e570
commit 80d882cd20
4 changed files with 10 additions and 3 deletions
@@ -42,6 +42,7 @@ module Params
type(params, :order, String)
type(params, :completed_redirect_url, String)
type(params, :bcc_completed, String)
type(params, :reply_to, String)
type(params, :message, Hash)
type(params, :submitters, Array)
@@ -69,6 +70,7 @@ module Params
required(submitter_params, %i[email phone name])
type(submitter_params, :name, String)
type(submitter_params, :reply_to, String)
type(submitter_params, :email, String)
format(submitter_params, :email, /@/, message: 'email is invalid')
type(submitter_params, :phone, String)