Class: Decidim::DirectVerifications::Verification::ConfirmUserAuthorization
- Inherits:
-
Verifications::ConfirmUserAuthorization
- Object
- Verifications::ConfirmUserAuthorization
- Decidim::DirectVerifications::Verification::ConfirmUserAuthorization
- Defined in:
- app/commands/decidim/direct_verifications/verification/confirm_user_authorization.rb
Instance Method Summary collapse
Instance Method Details
#call ⇒ Object
7 8 9 10 11 12 |
# File 'app/commands/decidim/direct_verifications/verification/confirm_user_authorization.rb', line 7 def call return broadcast(:invalid) unless form.valid? .grant! broadcast(:ok) end |