skierkowski/terraform-enterprise-client

View on GitHub
lib/terraform_enterprise/api/request.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method has too many lines. [11/10]
Open

      def define_request(method, path, data = {}, extra_headers = {})
        request_options = {
          method:  method,
          url:     uri(path),
          headers: headers.merge(extra_headers)

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.

There are no issues that match your filters.

Category
Status