Module: Decidim::Votings::Census::CheckFields

Extended by:
ActiveSupport::Concern
Included in:
Admin::DatumForm, CheckForm
Defined in:
decidim-elections/app/forms/decidim/votings/census/check_fields.rb

Overview

Definition of the fields required to be used on Datum forms for identity checking

Instance Method Summary collapse

Instance Method Details

#hashed_check_dataObject

hash of postal code, birth, document type and number used by a person to check if present in dataset



22
23
24
# File 'decidim-elections/app/forms/decidim/votings/census/check_fields.rb', line 22

def hashed_check_data
  hash_for document_number, document_type, birthdate, postal_code
end