diff options
author | Marshall Huss <mwhuss@gmail.com> | 2009-08-22 20:00:14 -0400 |
---|---|---|
committer | Marshall Huss <mwhuss@gmail.com> | 2009-08-22 20:00:14 -0400 |
commit | 77173c85676b41e02286a43c513f8c78e7b96a82 (patch) | |
tree | 562be41c426044540a8db317e41d433a90f07705 | |
parent | 01b18f7f68e09bd74be07b96c3c62fcac21f0eb0 (diff) | |
download | rails-77173c85676b41e02286a43c513f8c78e7b96a82.tar.gz rails-77173c85676b41e02286a43c513f8c78e7b96a82.tar.bz2 rails-77173c85676b41e02286a43c513f8c78e7b96a82.zip |
Added docs for ActiveResource HTTP proxy support
-rw-r--r-- | activeresource/lib/active_resource/base.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activeresource/lib/active_resource/base.rb b/activeresource/lib/active_resource/base.rb index 9db35881b8..3d58660ffc 100644 --- a/activeresource/lib/active_resource/base.rb +++ b/activeresource/lib/active_resource/base.rb @@ -37,6 +37,13 @@ module ActiveResource # self.element_name = "person" # end # + # If your Active Resource object is required to use an HTTP proxy you can set the +proxy+ value which holds a URI. + # + # class PersonResource < ActiveResource::Base + # self.site = "http://api.people.com:3000/" + # self.proxy = "http://user:password@proxy.people.com:8080" + # end + # # # == Lifecycle methods # |