Method: Sensu::Utilities#random_uuid

Defined in:
lib/sensu/utilities.rb

#random_uuidString

Generate a random universally unique identifier.

Returns:

  • (String)

    random UUID.



114
115
116
# File 'lib/sensu/utilities.rb', line 114

def random_uuid
  ::SecureRandom.uuid
end