Class: Hws::Stores::Models::Base

Inherits:
ActiveRecord::Base
  • Object
show all
Defined in:
lib/hws-stores/models/base.rb

Overview

:nodoc:

Direct Known Subclasses

Owner, Store

Instance Method Summary collapse

Instance Method Details

#set_uuidObject



8
9
10
# File 'lib/hws-stores/models/base.rb', line 8

def set_uuid
  self.id = ::LSUUID.generate if self.id.blank?
end