Class: Decidim::Budgets::Admin::UpdateProject

Inherits:
Commands::UpdateResource show all
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

Methods inherited from Commands::UpdateResource

#call

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