lib/terraform_enterprise/api/request.rb
Method has too many lines. [11/10] Open
Open
def define_request(method, path, data = {}, extra_headers = {})
request_options = {
method: method,
url: uri(path),
headers: headers.merge(extra_headers)
- Read upRead up
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.