module Api::V1::Invitations::ControllerBase::StrongParameters

def invitation_params

Only allow a list of trusted parameters through.
def invitation_params
  strong_params = params.require(:invitation).permit(
    *permitted_fields,
    :email,
    # 🚅 super scaffolding will insert new fields above this line.
    *permitted_arrays,
    # 🚅 super scaffolding will insert new arrays above this line
  )
  process_params(strong_params)
  strong_params
end