From 6d2788383d487dd0a6d172ad2520abd12dd91a10 Mon Sep 17 00:00:00 2001 From: danielsdeleo Date: Mon, 7 Oct 2013 16:19:59 -0700 Subject: Remove leftover methods from subclass --- lib/chef/rest.rb | 9 --------- 1 file changed, 9 deletions(-) (limited to 'lib/chef/rest.rb') diff --git a/lib/chef/rest.rb b/lib/chef/rest.rb index 686535ac82..e93c19151a 100644 --- a/lib/chef/rest.rb +++ b/lib/chef/rest.rb @@ -84,10 +84,6 @@ class Chef authenticator.sign_requests? end - def head(path, headers={}) - api_request(:HEAD, create_url(path), headers) - end - # Send an HTTP GET request to the path # # Using this method to +fetch+ a file is considered deprecated. @@ -110,11 +106,6 @@ class Chef alias :post_rest :post - # Send an HTTP PUT request to the path - def put(path, json, headers={}) - api_request(:PUT, create_url(path), headers, json) - end - alias :put_rest :put # Streams a download to a tempfile, then yields the tempfile to a block. -- cgit v1.2.1