Method: Chef::HTTP#put
- Defined in:
- lib/chef/http.rb
permalink #put(path, json, headers = {}) ⇒ Object
Send an HTTP PUT request to the path
Parameters
- path
-
path part of the request URL
128 129 130 |
# File 'lib/chef/http.rb', line 128 def put(path, json, headers = {}) request(:PUT, path, headers, json) end |