Class: Decidim::DummyAuthorizationHandler
- Inherits:
-
AuthorizationHandler
- Object
- AuthorizationHandler
- Decidim::DummyAuthorizationHandler
- Defined in:
- lib/decidim/dev/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
13 14 15 |
# File 'lib/decidim/dev/dummy_authorization_handler.rb', line 13 def super.merge(document_number: document_number) end |
#unique_id ⇒ Object
17 18 19 |
# File 'lib/decidim/dev/dummy_authorization_handler.rb', line 17 def unique_id document_number end |