Skip to content

Commit

Permalink
Added attr_readers for the Proxy settings of WWW::Mechanize.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern authored and tenderlove committed Jan 27, 2010
1 parent 940bdae commit b94f3bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/mechanize.rb
Expand Up @@ -86,6 +86,12 @@ class Mechanize
# A hash of custom request headers
attr_accessor :request_headers

# Proxy settings
attr_reader :proxy_addr
attr_reader :proxy_pass
attr_reader :proxy_port
attr_reader :proxy_user

# The HTML parser to be used when parsing documents
attr_accessor :html_parser

Expand Down

0 comments on commit b94f3bf

Please sign in to comment.