Class: AnotherDummyAuthorizationHandler
- Inherits:
-
Decidim::AuthorizationHandler
- Object
- Decidim::AuthorizationHandler
- AnotherDummyAuthorizationHandler
- Defined in:
- lib/decidim/generators/app_templates/another_dummy_authorization_handler.rb
Overview
An example implementation of an AuthorizationHandler to be used in tests.
Instance Method Summary collapse
Instance Method Details
#metadata ⇒ Object
11 12 13 |
# File 'lib/decidim/generators/app_templates/another_dummy_authorization_handler.rb', line 11 def super.merge(passport_number:, postal_code:) end |
#unique_id ⇒ Object
15 16 17 |
# File 'lib/decidim/generators/app_templates/another_dummy_authorization_handler.rb', line 15 def unique_id passport_number end |