Module: Livestatus::ID

Included in:
Host, Service
Defined in:
lib/livestatus/models.rb

Instance Method Summary collapse

Instance Method Details

#idObject



43
44
45
# File 'lib/livestatus/models.rb', line 43

def id
  Digest::SHA1.hexdigest(_id)[0..7]
end