mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 12:16:22 +00:00
10 lines
208 B
Ruby
10 lines
208 B
Ruby
# frozen_string_literal: true
|
|
|
|
# Asigna un identificador único al artículo
|
|
class MetadataUuid < MetadataTemplate
|
|
include Metadata::AlwaysPublicConcern
|
|
|
|
def default_value
|
|
SecureRandom.uuid
|
|
end
|
|
end
|