Method: Chef::HTTP#put

Defined in:
lib/chef/http.rb

#put(path, json, headers = {}) ⇒ Object

Send an HTTP PUT request to the path

Parameters

path

path part of the request URL

[View source]

128
129
130
# File 'lib/chef/http.rb', line 128

def put(path, json, headers = {})
  request(:PUT, path, headers, json)
end