Class: Decidim::Conferences::Admin::UpdateRegistrationType
- Inherits:
 - 
      Decidim::Commands::UpdateResource
      
        
- Object
 - Decidim::Commands::UpdateResource
 - Decidim::Conferences::Admin::UpdateRegistrationType
 
 
- Defined in:
 - app/commands/decidim/conferences/admin/update_registration_type.rb
 
Overview
A command with all the business logic when updating a conference registration type in the system.
Instance Method Summary collapse
Instance Method Details
#invalid? ⇒ Boolean
      11 12 13  | 
    
      # File 'app/commands/decidim/conferences/admin/update_registration_type.rb', line 11 def invalid? form.invalid? || !resource end  | 
  
#run_after_hooks ⇒ Object
      15 16 17  | 
    
      # File 'app/commands/decidim/conferences/admin/update_registration_type.rb', line 15 def run_after_hooks resource.conference_meetings = conference_meetings(resource) end  |