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

11 lines
208 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
2023-10-06 13:53:19 +00:00
include Metadata::AlwaysPublicConcern
2020-01-22 21:43:25 +00:00
def default_value
SecureRandom.uuid
end
end