Sha256: 84b28b39006b3afa7a42535fd8c9e84e953611c3066508f8e0682ec97fca556d

Contents?: true

Size: 334 Bytes

Versions: 7

Compression:

Stored size: 334 Bytes

Contents

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

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
netroots-ruby-votesmart-0.2.0 lib/vote_smart/candidate_bio.rb
netroots-ruby-votesmart-0.2.1 lib/vote_smart/candidate_bio.rb
netroots-ruby-votesmart-0.2.2 lib/vote_smart/candidate_bio.rb
netroots-ruby-votesmart-0.2.3 lib/vote_smart/candidate_bio.rb
netroots-ruby-votesmart-0.2.4 lib/vote_smart/candidate_bio.rb
votesmart-0.3.1 lib/vote_smart/candidate_bio.rb
votesmart-0.3.0 lib/vote_smart/candidate_bio.rb