Sha256: 2cf5b8158a8e559e175243eacc9f757ed3298fce7e6d474875126cd108d5f026
Contents?: true
Size: 890 Bytes
Versions: 14
Compression:
Stored size: 890 Bytes
Contents
# frozen_string_literal: true require "decidim/verifications/engine" require "decidim/verifications/default_action_authorizer" require "decidim/verifications/workflows" require "decidim/verifications/id_documents" require "decidim/verifications/postal_letter" require "decidim/verifications/sms" require "decidim/verifications/csv_census" module Decidim def self.authorization_workflows Decidim::Verifications.workflows end def self.authorization_engines Decidim::Verifications.workflows.select(&:engine) end def self.authorization_admin_engines Decidim::Verifications.workflows.select(&:admin_engine) end def self.authorization_handlers Decidim::Verifications.workflows.select(&:form) end module Verifications include ActiveSupport::Configurable config_accessor :document_types do %w(identification_number passport) end end end
Version data entries
14 entries across 14 versions & 1 rubygems