Class: Fog::UUID
- Inherits:
-
Object
- Object
- Fog::UUID
- Defined in:
- lib/fog/core/uuid.rb
Class Method Summary collapse
-
.supported? ⇒ Boolean
:nodoc: This method is used by other plugins, so preserve it for the compatibility.
- .uuid ⇒ Object
Class Method Details
.supported? ⇒ Boolean
:nodoc: This method is used by other plugins, so preserve it for the compatibility
11 12 13 |
# File 'lib/fog/core/uuid.rb', line 11 def supported? SecureRandom.respond_to?(:uuid) end |
.uuid ⇒ Object
6 7 8 |
# File 'lib/fog/core/uuid.rb', line 6 def uuid SecureRandom.uuid end |