WaKeMaTTa/geo_names

View on GitHub
lib/geo_names/base.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method raise_error_according_to! has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def raise_error_according_to!(status_code, message)
      case status_code
      when 10
        raise(AuthorizationExceptionError, message)
      when 11
Severity: Minor
Found in lib/geo_names/base.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status