Sha256: 864c74f9cba1e850250b92fc71dee8b376633cc2062844f53765a9aa8cd076e1

Contents?: true

Size: 215 Bytes

Versions: 11

Compression:

Stored size: 215 Bytes

Contents

module VoteSmart
  
  class Npat < Common
    
    # Returns the most recent NPAT filled out by a candidate
    def self.get_npat can_id
      request("Npat.getNpat", "candidateId" => can_id)
    end
    
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
netroots-ruby-votesmart-0.2.0 lib/vote_smart/npat.rb
netroots-ruby-votesmart-0.2.1 lib/vote_smart/npat.rb
netroots-ruby-votesmart-0.2.2 lib/vote_smart/npat.rb
netroots-ruby-votesmart-0.2.3 lib/vote_smart/npat.rb
netroots-ruby-votesmart-0.2.4 lib/vote_smart/npat.rb
votesmart-0.4.1 lib/vote_smart/npat.rb
votesmart-0.4.0 lib/vote_smart/npat.rb
votesmart-0.3.3 lib/vote_smart/npat.rb
votesmart-0.3.2 lib/vote_smart/npat.rb
votesmart-0.3.1 lib/vote_smart/npat.rb
votesmart-0.3.0 lib/vote_smart/npat.rb