Archived documentation — this article is no longer maintained.
The information below is retained for historical reference and may be outdated.
View the current documentation: https://www.quotaguard.com/docs/
Installation
When you sign up you will be provided with a unique username and password that you can use when configuring your proxy service in your application:
http://username:password@proxy.quotaguard.com:9292
We recommend you store the connection string in an environment variable QUOTAGUARD_URL to maintain compatibility with platforms like Heroku and CloudControl.
You can test your proxy setup using curl.
$ curl -x username:password@proxy.quotaguard.com:9292 http://www.google.com/
Integration
Ruby Geocoder is the leading geocoding solution for Ruby and Rails and works seamlessly with QuotaGuard.
Simply add your authenticated connection string in to the geocoder initializer.
# config/initializers/geocoder.rb Geocoder.configure( ... :http_proxy => ENV["QUOTAGUARD_URL"], :timeout => 5 )