Class: Fog::UUID

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/core/uuid.rb

Class Method Summary collapse

Class Method Details

.supported?Boolean

:nodoc: This method is used by other plugins, so preserve it for the compatibility

Returns:



11
12
13
# File 'lib/fog/core/uuid.rb', line 11

def supported?
  SecureRandom.respond_to?(:uuid)
end

.uuidObject



6
7
8
# File 'lib/fog/core/uuid.rb', line 6

def uuid
  SecureRandom.uuid
end