Method: VoteSmart::Election.get_election_by_year_state
- Defined in:
- lib/vote_smart/election.rb
.get_election_by_year_state(year, state_id) ⇒ Object
returns a list of elections based on the criteria
11 12 13 |
# File 'lib/vote_smart/election.rb', line 11 def self.get_election_by_year_state year, state_id request("Election.getElectionByYearState", "year" => year, "stateId" => state_id) end |