lib/new_relic/agent/instrumentation/curb.rb in newrelic_rpm-3.6.8.168 vs lib/new_relic/agent/instrumentation/curb.rb in newrelic_rpm-3.6.9.171
- old
+ new
@@ -42,12 +42,12 @@
http_post_without_newrelic(*args, &blk)
end
alias_method :http_post_without_newrelic, :http_post
alias_method :http_post, :http_post_with_newrelic
- def http_put_with_newrelic(url, data, &blk)
+ def http_put_with_newrelic(*args, &blk)
self._nr_http_verb = :PUT
- http_put_with_newrelic(url, data, &blk)
+ http_put_without_newrelic(*args, &blk)
end
alias_method :http_put_without_newrelic, :http_put
alias_method :http_put, :http_put_with_newrelic