Module: Relaxo::Model::Properties::UUID

Defined in:
lib/relaxo/model/properties/uuid.rb

Class Method Summary collapse

Class Method Details

.convert_from_primative(dataset, value) ⇒ Object



35
36
37
# File 'lib/relaxo/model/properties/uuid.rb', line 35

def self.convert_from_primative(dataset, value)
	value
end

.convert_to_primative(value) ⇒ Object



31
32
33
# File 'lib/relaxo/model/properties/uuid.rb', line 31

def self.convert_to_primative(value)
	value
end

.defaultObject



27
28
29
# File 'lib/relaxo/model/properties/uuid.rb', line 27

def self.default
	SecureRandom.uuid
end