Sha256: ced62124c465c19ddd573138775082e28e2c6df9725965b04843a5584d055aec

Contents?: true

Size: 352 Bytes

Versions: 4

Compression:

Stored size: 352 Bytes

Contents

module VoteSmart
  
  class CandidateBio < Common
    
    # Returns basic bio details on a candidate
    def self.get_bio can_id, &block
      request("CandidateBio.getBio", {"candidateId" => can_id}, &block)
    end
    
    # 
    def self.get_addl_bio can_id
      request("CandidateBio.getAddlBio", "candidateId" => can_id)
    end
    
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
votesmart-0.4.1 lib/vote_smart/candidate_bio.rb
votesmart-0.4.0 lib/vote_smart/candidate_bio.rb
votesmart-0.3.3 lib/vote_smart/candidate_bio.rb
votesmart-0.3.2 lib/vote_smart/candidate_bio.rb