Class: Decidim::Votings::Admin::ManagePollingStation

Inherits:
Command
  • Object
show all
Defined in:
decidim-elections/app/commands/decidim/votings/admin/manage_polling_station.rb

Overview

A command with the shared business logic to manage a polling station

Direct Known Subclasses

CreatePollingStation, UpdatePollingStation

Instance Method Summary collapse

Methods inherited from Command

call, #evaluate, #method_missing, #respond_to_missing?, #transaction, #with_events

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Decidim::Command

Instance Method Details

#manage_polling_officers(polling_station, president_id, managers_ids) ⇒ Object



8
9
10
11
# File 'decidim-elections/app/commands/decidim/votings/admin/manage_polling_station.rb', line 8

def manage_polling_officers(polling_station, president_id, managers_ids)
  manage_president(polling_station, president_id)
  manage_managers(polling_station, managers_ids)
end