Sha256: 86565de99869907c6add0c6838b4500ba74bf91f8c48c57067014c56185bf45c
Contents?: true
Size: 506 Bytes
Versions: 11
Compression:
Stored size: 506 Bytes
Contents
module VoteSmart class Leadership < Common # Returns a list of leadership positions def self.get_positions state_id = "NA", office_id = nil request("Leadership.getPositions", "stateId" => state_id, "officeId" => office_id) end # Returns a list of candidates in specific leadership positions def self.get_officials leadership_id, state_id = "NA" request("Leadership.getOfficials", "leadershipId" => leadership_id, "stateId" => state_id) end end end
Version data entries
11 entries across 11 versions & 2 rubygems