Class: Netfira::WebConnect::Guid
- Defined in:
- lib/netfira/web_connect/components/guid.rb
Class Method Summary collapse
Methods inherited from OctaWord
#as_json, #base64, #binary, #eql?, from_base64, from_binary, from_hex, #hex, #initialize, #inspect, #to_s
Constructor Details
This class inherits a constructor from Netfira::WebConnect::OctaWord
Class Method Details
.create ⇒ Object
6 7 8 |
# File 'lib/netfira/web_connect/components/guid.rb', line 6 def self.create new SecureRandom.random_bytes(16) end |