Class: Hws::Instruments::Models::Base

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

Overview

:nodoc:

Direct Known Subclasses

InstrumentConfig

Instance Method Summary collapse

Instance Method Details

#set_uuidObject



9
10
11
# File 'lib/hws-instruments/models/base.rb', line 9

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