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

Remove redundant dup

Hash#merge returns a new Hash:
http://ruby-doc.org/core-2.0.0/Hash.html#method-i-merge
This commit is contained in:
Trent Ogren 2013-10-22 11:24:26 -05:00
parent bddaac076d
commit de44221c93

View file

@ -492,7 +492,7 @@ module HTTParty
private
def perform_request(http_method, path, options, &block) #:nodoc:
options = default_options.dup.merge(options)
options = default_options.merge(options)
process_cookies(options)
Request.new(http_method, path, options).perform(&block)
end