WaKeMaTTa/geo_names

View on GitHub

Showing 1 of 1 total issue

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
    Severity
    Category
    Status
    Source
    Language