chingor13/json_api_client

View on GitHub
lib/json_api_client/middleware/status.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method handle_status has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

      def handle_status(code, env)
        custom_handler = custom_handler_for(code)
        return custom_handler.call(env) if custom_handler.present?

        case code
Severity: Minor
Found in lib/json_api_client/middleware/status.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status