5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-16 10:31:41 +00:00

los datos privados no se indexan

This commit is contained in:
f 2021-05-09 12:25:16 -03:00
parent 6396841b2c
commit 98df0ceb3a
4 changed files with 6 additions and 4 deletions

View file

@ -13,8 +13,10 @@ class MetadataArray < MetadataTemplate
false
end
# Solo los datos públicos se indexan, aunque MetadataArray no se cifra
# aun, dejamos esto preparado para la posteridad.
def indexable?
true
true && !private?
end
def to_s

View file

@ -20,7 +20,7 @@ class MetadataContent < MetadataTemplate
end
def indexable?
true
true && !private?
end
def to_s

View file

@ -12,7 +12,7 @@ class MetadataDocumentDate < MetadataTemplate
end
def indexable?
true
true && !private?
end
# El valor puede ser un Date, Time o una String en el formato

View file

@ -8,7 +8,7 @@ class MetadataString < MetadataTemplate
end
def indexable?
true
true && !private?
end
private