debian-mirror-gitlab/lib/gitlab/serverless/domain.rb
2020-03-09 13:42:32 +05:30

13 lines
205 B
Ruby

# frozen_string_literal: true
module Gitlab
module Serverless
class Domain
UUID_LENGTH = 14
def self.generate_uuid
SecureRandom.hex(UUID_LENGTH / 2)
end
end
end
end