Class: Ninetails::Property
- Inherits:
-
Object
- Object
- Ninetails::Property
- Includes:
- PropertyStore
- Defined in:
- app/components/ninetails/property.rb
Class Method Summary collapse
Class Method Details
.serialize ⇒ Object
5 6 7 8 9 10 |
# File 'app/components/ninetails/property.rb', line 5 def self.serialize properties.each_with_object({}) do |property, hash| hash[:reference] = SecureRandom.uuid hash[property.name] = property.serialize end end |