Skip to content

Commit

Permalink
Include CandiateBio.get_bio in the parallelizable requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Empact committed Sep 20, 2010
1 parent 37a8813 commit d6c2406
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/vote_smart/candidate_bio.rb
Expand Up @@ -3,8 +3,8 @@ module VoteSmart
class CandidateBio < Common

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

#
Expand Down

0 comments on commit d6c2406

Please sign in to comment.