Sha256: 8c44c5d5a663cc6df2c505e7f99ddc6ff2136754d1e9e58d821e83c6380d62d1
Contents?: true
Size: 695 Bytes
Versions: 19
Compression:
Stored size: 695 Bytes
Contents
# frozen_string_literal: true Decidim::Verifications.register_workflow(:dummy_authorization_handler) do |workflow| workflow.form = "DummyAuthorizationHandler" workflow.action_authorizer = "DummyAuthorizationHandler::DummyActionAuthorizer" workflow.expires_in = 1.hour workflow.options do |options| options.attribute :postal_code, type: :string, default: "08001", required: false end end Decidim::Verifications.register_workflow(:another_dummy_authorization_handler) do |workflow| workflow.form = "AnotherDummyAuthorizationHandler" workflow.expires_in = 1.hour workflow.options do |options| options.attribute :passport_number, type: :string, required: false end end
Version data entries
19 entries across 19 versions & 1 rubygems