diff options
author | danielsdeleo <dan@opscode.com> | 2013-10-07 16:19:59 -0700 |
---|---|---|
committer | danielsdeleo <dan@opscode.com> | 2013-10-08 15:01:48 -0700 |
commit | 6d2788383d487dd0a6d172ad2520abd12dd91a10 (patch) | |
tree | e40a81422e65248afe5efcf320d5517fc5d48ae8 /lib/chef/rest.rb | |
parent | 3b169bddbc3ba5c9759e01a6438d70e34d264cf0 (diff) | |
download | chef-6d2788383d487dd0a6d172ad2520abd12dd91a10.tar.gz |
Remove leftover methods from subclass
Diffstat (limited to 'lib/chef/rest.rb')
-rw-r--r-- | lib/chef/rest.rb | 9 |
1 files changed, 0 insertions, 9 deletions
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. |