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

Inherits:
Command
  • Object
show all
Defined in:
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

Instance Method Details

#manage_polling_officers(polling_station, president_id, managers_ids) ⇒ Object



8
9
10
11
# File '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