mjacobus/koine-rest_client

View on GitHub
lib/koine/rest_client/response_parser.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method error_for_code has 42 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def error_for_code(code)
        {
          400 => BadRequestError,
          401 => UnauthorizedError,
          402 => PaymentRequiredExperimentalError,
Severity: Minor
Found in lib/koine/rest_client/response_parser.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status