Module: VoteSmart

Defined in:
lib/vote_smart.rb,
lib/vote_smart/npat.rb,
lib/vote_smart/vote.rb,
lib/vote_smart/local.rb,
lib/vote_smart/notes.rb,
lib/vote_smart/phone.rb,
lib/vote_smart/state.rb,
lib/vote_smart/common.rb,
lib/vote_smart/office.rb,
lib/vote_smart/rating.rb,
lib/vote_smart/address.rb,
lib/vote_smart/measure.rb,
lib/vote_smart/district.rb,
lib/vote_smart/election.rb,
lib/vote_smart/official.rb,
lib/vote_smart/candidate.rb,
lib/vote_smart/committee.rb,
lib/vote_smart/leadership.rb,
lib/vote_smart/candidate_bio.rb,
lib/vote_smart/candidate_office.rb

Defined Under Namespace

Modules: ParallelQueries Classes: Address, Candidate, CandidateBio, CandidateOffice, Committee, Common, District, Election, Leadership, Local, Measure, Notes, Npat, Office, Official, Phone, Rating, RequestFailed, State, Vote

Constant Summary collapse

API_URL =
"http://api.votesmart.org/"
API_FORMAT =
"JSON"

Class Attribute Summary collapse

Class Attribute Details

.api_keyObject

Returns the value of attribute api_key.



6
7
8
# File 'lib/vote_smart.rb', line 6

def api_key
  @api_key
end