CartoDB/cartodb20

View on GitHub
lib/carto/oauth/github/api.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method authenticated_request has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        def authenticated_request(method, url, body: nil)
          headers = {
            'Accept' => 'application/json',
            'Authorization' => "token #{@access_token}"
          }
Severity: Minor
Found in lib/carto/oauth/github/api.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status