Skip to content

Instantly share code, notes, and snippets.

@mwhuss
Created August 22, 2009 13:48
Show Gist options
  • Save mwhuss/172785 to your computer and use it in GitHub Desktop.
Save mwhuss/172785 to your computer and use it in GitHub Desktop.
# If your Active Resource object is required to use an HTTP Proxy you can set the +proxy+ value which hold a URI.
#
# class PersonResource < ActiveResource::Base
# self.site = "http://api.people.com:3000/"
# self.proxy = "http://user:password@proxy.people.com:8080"
# end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment