Sha256: 1a27442a5311ba2d375a6339f5a4c60028e01736efe246826438fa2b3c752bac
Contents?: true
Size: 565 Bytes
Versions: 18
Compression:
Stored size: 565 Bytes
Contents
# frozen_string_literal: true module Decidim module DirectVerifications module Verification # A form object to be used when public users want to get verified by # DirectVerifications verificator class DirectVerificationsForm < AuthorizationHandler # This is the input (from the user) to validate against attribute :name, String attribute :email, String # This is the validation to perform # If passed, an authorization is created validates :email, presence: true end end end end
Version data entries
18 entries across 18 versions & 1 rubygems