summaryrefslogtreecommitdiff
path: root/lib/chef/http.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-07-26 17:26:36 -0700
committerTim Smith <tsmith84@gmail.com>2020-07-26 17:26:36 -0700
commit5f6daf7b670b571447a5d907219ab7804e3c9007 (patch)
treeec228a87abab99d4dbc0626192d30b724a08888e /lib/chef/http.rb
parentba0c5fcd7a1735b4ae170816dc48b05d791b9733 (diff)
downloadchef-5f6daf7b670b571447a5d907219ab7804e3c9007.tar.gz
Combine attr_readers onto a single lineattrs
The method takes more than 1 argument Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib/chef/http.rb')
-rw-r--r--lib/chef/http.rb8
1 files changed, 1 insertions, 7 deletions
diff --git a/lib/chef/http.rb b/lib/chef/http.rb
index 1777739a93..3780ab1ee3 100644
--- a/lib/chef/http.rb
+++ b/lib/chef/http.rb
@@ -69,13 +69,7 @@ class Chef
middlewares << middleware_class
end
- attr_reader :url
- attr_reader :sign_on_redirect
- attr_reader :redirect_limit
-
- attr_reader :options
-
- attr_reader :middlewares
+ attr_reader :url, :sign_on_redirect, :redirect_limit, :options, :middlewares
# [Boolean] if we're doing keepalives or not
attr_reader :keepalives