Showing 1 of 1 total issue
Method raise_error_according_to!
has 36 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
def raise_error_according_to!(status_code, message)
case status_code
when 10
raise(AuthorizationExceptionError, message)
when 11