summaryrefslogtreecommitdiff
path: root/lib/chef/http.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-03-04 11:11:40 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-03-04 11:11:40 -0800
commit4fd88f1f3c7d847712e61abab2bac6cb4a987265 (patch)
treedfb881adfed537b6f6c9084f7a61779416605e1e /lib/chef/http.rb
parentf17fc92d3b8400cc91bfd384c5bf39fd40bdf5b1 (diff)
downloadchef-4fd88f1f3c7d847712e61abab2bac6cb4a987265.tar.gz
add some @yield docs
added some FIXMEs because trying to sort out types for random undocumented code was making me completely aggro
Diffstat (limited to 'lib/chef/http.rb')
-rw-r--r--lib/chef/http.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/chef/http.rb b/lib/chef/http.rb
index 17024c4bdc..dd02550294 100644
--- a/lib/chef/http.rb
+++ b/lib/chef/http.rb
@@ -159,6 +159,9 @@ class Chef
#
# If no block is given, the tempfile is returned, which means it's up to
# you to unlink the tempfile when you're done with it.
+ #
+ # @yield [tempfile] block to process the tempfile
+ # @yieldparams [tempfile<Tempfile>] tempfile
def streaming_request(path, headers = {})
url = create_url(path)
response, rest_request, return_value = nil, nil, nil