Sha256: 5a61fa60308abdd8f0017a8ab89a2398102fb58c49a7c83579ef9d330f7cc7d3

Contents?: true

Size: 630 Bytes

Versions: 2

Compression:

Stored size: 630 Bytes

Contents

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

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

ProjectVoteSmart.api_key = "key"

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

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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
netroots-project_vote_smart-0.1.0 lib/project_vote_smart.rb
netroots-ruby-votesmart-0.1.0 lib/project_vote_smart.rb