Class: Decidim::Verifications::IdDocuments::AuthorizationPresenter
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Decidim::Verifications::IdDocuments::AuthorizationPresenter
- Defined in:
- app/presenters/decidim/verifications/id_documents/authorization_presenter.rb
Overview
Decorator for id document authorizations
Instance Method Summary collapse
-
#rejected? ⇒ Boolean
Whether the verification has been rejected or not and thus, whether the user should be prompted again to reupload documents.
Instance Method Details
#rejected? ⇒ Boolean
Whether the verification has been rejected or not and thus, whether the user should be prompted again to reupload documents
14 15 16 |
# File 'app/presenters/decidim/verifications/id_documents/authorization_presenter.rb', line 14 def rejected? ["rejected"] == true end |