Class: Decidim::Verifications::IdDocuments::AuthorizationPresenter

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
decidim-verifications/app/presenters/decidim/verifications/id_documents/authorization_presenter.rb

Overview

Decorator for id document authorizations

Instance Method Summary collapse

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

Returns:

  • (Boolean)


14
15
16
# File 'decidim-verifications/app/presenters/decidim/verifications/id_documents/authorization_presenter.rb', line 14

def rejected?
  ["rejected"] == true
end