summaryrefslogtreecommitdiff
path: root/lib/chef/http/json_input.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-03-06 09:56:31 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-03-06 09:56:31 -0800
commit9e679b833c2a3203a12102f9a1b024f87d0b23f2 (patch)
treee6e5946d5b37a88b7550e73282bf785ce283f961 /lib/chef/http/json_input.rb
parent95510896fdf938be5e8631b96719053805e04ec2 (diff)
downloadchef-lcg/unused_method_argument.tar.gz
fix Lint/UnusedMethodArgumentlcg/unused_method_argument
appends '_' to all unused method arguments, autogenerated from rubocop.
Diffstat (limited to 'lib/chef/http/json_input.rb')
-rw-r--r--lib/chef/http/json_input.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/http/json_input.rb b/lib/chef/http/json_input.rb
index 23ccc3a8a7..f919288938 100644
--- a/lib/chef/http/json_input.rb
+++ b/lib/chef/http/json_input.rb
@@ -25,7 +25,7 @@ class Chef
# Middleware that takes json input and turns it into raw text
class JSONInput
- def initialize(opts={})
+ def initialize(_opts={})
end
def handle_request(method, url, headers={}, data=false)
@@ -45,7 +45,7 @@ class Chef
[http_response, rest_request, return_value]
end
- def stream_response_handler(response)
+ def stream_response_handler(_response)
nil
end