Showing 2 of 2 total issues
Class Client
has 28 methods (exceeds 20 allowed). Consider refactoring. Open
Open
class Client DEFAULT_HEADERS = { 'Accept' => 'application/json', 'Content-Type' => 'application/json' } ## # The success response template.
Method http_request
has a Cognitive Complexity of 7 (exceeds 5 allowed). Consider refactoring. Open
Open
def http_request(request) tries_count ||= @tries finished = ->() { (tries_count -= 1).zero? } begin
- Read upRead up