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:
parent
bddaac076d
commit
de44221c93
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue