Class: Decidim::Budgets::Admin::UpdateProject
- Inherits:
-
Commands::UpdateResource
- Object
- Command
- Commands::UpdateResource
- Decidim::Budgets::Admin::UpdateProject
- Includes:
- GalleryMethods
- Defined in:
- decidim-budgets/app/commands/decidim/budgets/admin/update_project.rb
Overview
This command is executed when the user changes a Project from the admin panel.
Instance Method Summary collapse
-
#initialize(form, project) ⇒ UpdateProject
constructor
A new instance of UpdateProject.
Methods inherited from Commands::UpdateResource
Methods inherited from Command
call, #evaluate, #method_missing, #respond_to_missing?, #transaction, #with_events
Constructor Details
#initialize(form, project) ⇒ UpdateProject
Returns a new instance of UpdateProject.
12 13 14 15 |
# File 'decidim-budgets/app/commands/decidim/budgets/admin/update_project.rb', line 12 def initialize(form, project) super @attached_to = project end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Decidim::Command