Skip to content

Instantly share code, notes, and snippets.

@thejefflarson
Created August 25, 2010 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thejefflarson/549722 to your computer and use it in GitHub Desktop.
Save thejefflarson/549722 to your computer and use it in GitHub Desktop.
module Graticule #:nodoc:
module Geocoder #:nodoc:
class Google
def initialize(key)
@key = key
@proxies = ["http://127.0.0.1:8080", "http://127.0.0.1:8081", "http://127.0.0.1:8082"]
@url = URI.parse @proxies[rand(@proxies.length)] + '/maps/geo'
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment