On April 1, 2021, we are moving all of our QuotaGuard Support Documentation to 


https://quotaguard.github.io/qg-docs/


 Please Update Your Support Bookmarks


 Documentation for this article will be maintained at 


https://quotaguard.github.io/qg-docs/quickstart-ruby 


Please click on the above link to ensure you are reading 

the most recent and updated documentation.


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 
) 



If you have questions, or if this solution doesn’t work or fit your use case, please reach out to us at Support so we can help figure it out with you.


Working with sensitive data, like HIPAA, Financial, or Personally Identifiable Information (PII)? 
    Then you will want to check out our QuotaGuard Shield solution, it's the same as QuotaGuard Static, but with stronger end to end security for your requests. We can also help migrate current Static customers to Shield for free, just reach out to us at Support to request assistance.