lib/json_api_client/middleware/status.rb
Method handle_status
has 32 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def handle_status(code, env)
custom_handler = custom_handler_for(code)
return custom_handler.call(env) if custom_handler.present?
case code