Class: Decidim::Accountability::Admin::CreateImportedResult
- Inherits:
-
Commands::CreateResource
- Object
- Commands::CreateResource
- Decidim::Accountability::Admin::CreateImportedResult
- Includes:
- HasResultCommand
- Defined in:
- app/commands/decidim/accountability/admin/create_imported_result.rb
Overview
This command is executed when the user creates a Result from the admin panel using the “Import results from CSV file” feature
Instance Method Summary collapse
-
#initialize(form, parent_id = nil) ⇒ CreateImportedResult
constructor
A new instance of CreateImportedResult.
Methods included from HasResultCommand
#link_meetings, #link_projects, #link_proposals, #meeting_ids, #meetings, #notify_proposal_followers, #projects, #proposals
Constructor Details
#initialize(form, parent_id = nil) ⇒ CreateImportedResult
Returns a new instance of CreateImportedResult.
14 15 16 17 |
# File 'app/commands/decidim/accountability/admin/create_imported_result.rb', line 14 def initialize(form, parent_id = nil) super(form) @parent_id = parent_id end |