Sha256: e60a88296f98e03055220bc78dd156b4fa625efc1908256fccc22a69c859d1ee

Contents?: true

Size: 569 Bytes

Versions: 9

Compression:

Stored size: 569 Bytes

Contents

require 'rubygems'
require 'ym4r/google_maps/geocoding'
require 'active_support'
include Ym4r::GoogleMaps

module VoteSmart
  API_URL = "http://api.votesmart.org/"
  API_FORMAT = "JSON"
  
  mattr_accessor :api_key
  
  class RequestFailed < Exception; end
end

VoteSmart.api_key = "key"

require "#{File.dirname(__FILE__)}/mcll4r/mcll4r.rb"
require "#{File.dirname(__FILE__)}/vote_smart/common.rb"

Dir["#{File.dirname(__FILE__)}/vote_smart/*.rb"].each do |source_file| 
  require source_file unless source_file == "#{File.dirname(__FILE__)}/vote_smart/common.rb"
end

Version data entries

9 entries across 9 versions & 2 rubygems

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