Comply with Style/PredicateName rule for ? method names
This commit is contained in:
@@ -119,7 +119,7 @@ class CensusApi
|
||||
{get_habita_datos_response: {get_habita_datos_return: {datos_habitante: {}, datos_vivienda: {}}}}
|
||||
end
|
||||
|
||||
def is_dni?(document_type)
|
||||
def dni?(document_type)
|
||||
document_type.to_s == "1"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user