5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 14:06:21 +00:00
panel/app/models/metadata_uuid.rb

13 lines
199 B
Ruby
Raw Permalink Normal View History

2020-01-22 21:43:25 +00:00
# frozen_string_literal: true
# Asigna un identificador único al artículo
class MetadataUuid < MetadataTemplate
def default_value
SecureRandom.uuid
end
def private?
false
end
2020-01-22 21:43:25 +00:00
end