From 9c7723b519866e8a14da6b450efebb59b7bdcf8c Mon Sep 17 00:00:00 2001 From: Mikkel Kroman Date: Tue, 24 Sep 2013 19:44:36 +0200 Subject: [PATCH] Add documentation for :local_host and :local_port options --- lib/httparty.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/httparty.rb b/lib/httparty.rb index c36e276..4db0007 100644 --- a/lib/httparty.rb +++ b/lib/httparty.rb @@ -47,6 +47,8 @@ module HTTParty # [:+limit+:] Maximum number of redirects to follow. Takes precedences over :+no_follow+. # [:+query+:] Query string, or a Hash representing it. Normalized according to the same rules as :+body+. If you specify this on a POST, you must use a Hash. See also HTTParty::ClassMethods.default_params. # [:+timeout+:] Timeout for opening connection and reading data. + # [:+local_host:] Local address to bind to before connecting. + # [:+local_port:] Local port to bind to before connecting. # # There are also another set of options with names corresponding to various class methods. The methods in question are those that let you set a class-wide default, and the options override the defaults on a request-by-request basis. Those options are: # * :+base_uri+: see HTTParty::ClassMethods.base_uri.