+
+ private
+ def randomize_order
+ end
+
+ def process_incoming_voters(raw_voter_list)
+ incoming_voters = RawVoterList.new( raw_voter_list )
+
+ unless incoming_voters.entries.empty?
+ incoming_voters.each do |new_voter|
+
+ if incoming_voters.email == 0
+ new_voter.contacted = 1
+ elsif incoming_voters.email == 1
+ email_voter( new_voter )
+ new_voter.contacted = 1
+ else
+ new_voter.contacted = 0
+ end
+
+ # the new voter should be in good shape. save add to the election
+ new_voter.save
+ @election.voters << new_voter
+ end
+ end
+
+ # reset the next time to have a the same default value for emailing
+ @raw_voter_list = RawVoterList.new
+ @raw_voter_list.email = incoming_voters.email
+ end
+
+ def email_voter
+ end
+