Module: Livestatus::ID
Instance Method Summary collapse
Instance Method Details
#id ⇒ Object
48 49 50 |
# File 'lib/livestatus/models.rb', line 48 def id Digest::SHA1.hexdigest(_id)[0..7] end |
48 49 50 |
# File 'lib/livestatus/models.rb', line 48 def id Digest::SHA1.hexdigest(_id)[0..7] end |