summaryrefslogtreecommitdiff
path: root/lib/chef/http
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-05-30 21:04:30 -0700
committerTim Smith <tsmith@chef.io>2018-05-30 21:04:30 -0700
commitcb8f2a4212e82b3ae50bda772391c435c0d4a55a (patch)
tree229f3b5379792bf8e685d0d7f6ffdad983cef852 /lib/chef/http
parent087827cc0217273f8e33ca2050b27285ff8bc127 (diff)
downloadchef-cb8f2a4212e82b3ae50bda772391c435c0d4a55a.tar.gz
Add proper deprecated tags on methods
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/http')
-rw-r--r--lib/chef/http/http_request.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/http/http_request.rb b/lib/chef/http/http_request.rb
index de589e429e..149e207544 100644
--- a/lib/chef/http/http_request.rb
+++ b/lib/chef/http/http_request.rb
@@ -100,7 +100,7 @@ class Chef
@url.path.empty? ? SLASH : @url.path
end
- # DEPRECATED. Call request on an HTTP client object instead.
+ # @deprecated Call request on an HTTP client object instead.
def call
hide_net_http_bug do
http_client.request(http_request) do |response|
@@ -114,7 +114,7 @@ class Chef
Chef::Config
end
- # DEPRECATED. Call request on an HTTP client object instead.
+ # @deprecated Call request on an HTTP client object instead.
def http_client
@http_client ||= BasicClient.new(url).http_client
end