1
0
Fork 0
mirror of https://github.com/jnunemaker/httparty synced 2023-03-27 23:23:07 -04:00

Merge pull request #274 from bradgessler/master

Initialize HTTParty requests with an URI object and a String.
This commit is contained in:
John Nunemaker 2014-03-03 14:54:34 -05:00
commit 036b783d78

View file

@ -43,7 +43,7 @@ module HTTParty
end
def path=(uri)
@path = URI.parse(uri)
@path = URI(uri)
end
def request_uri(uri)