mirror of
https://0xacab.org/sutty/sutty
synced 2025-01-19 14:13:38 +00:00
por trabajar con apuro 2
This commit is contained in:
parent
5a055a6da3
commit
46f3cc1d90
1 changed files with 8 additions and 0 deletions
8
app/models/metadata_uuid.rb
Normal file
8
app/models/metadata_uuid.rb
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
# Asigna un identificador único al artículo
|
||||||
|
class MetadataUuid < MetadataTemplate
|
||||||
|
def default_value
|
||||||
|
SecureRandom.uuid
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue