jnunemaker/httparty — pull request #176 by srhea (2012-12-05 02:47:56+00:00)
Title: fix a warning because path= is redefined below

Without this patch, I run the following foo.rb:

require 'rubygems'
require 'httparty'
puts "hello"

and get this output:

$ ruby -w foo.rb /var/lib/gems/1.8/gems/httparty-0.7.7/lib/httparty/request.rb:39:
warning: method redefined; discarding old path=
hello

Since we plan to define path= below, just use attr_reader instead of
attr_accessor in the first place, and the warning goes away.

I'm using this version of ruby:

$ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [i486-linux]