mirror of
https://github.com/jnunemaker/httparty
synced 2023-03-27 23:23:07 -04:00
Removed leftover block parameter from http as it is not needed anymore.
This commit is contained in:
parent
c97b1448ed
commit
88501f20f6
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ module HTTParty
|
|||
@auth = {:username => u, :password => p}
|
||||
end
|
||||
|
||||
def http(&block)
|
||||
def http
|
||||
if @http.blank?
|
||||
uri = URI.parse(base_uri)
|
||||
@http = Net::HTTP.new(uri.host, uri.port)
|
||||
|
|
Loading…
Add table
Reference in a new issue