Class: Promoted::Ruby::Client::IdGenerator
- Inherits:
-
Object
- Object
- Promoted::Ruby::Client::IdGenerator
- Defined in:
- lib/promoted/ruby/client/id_generator.rb
Instance Method Summary collapse
-
#initialize ⇒ IdGenerator
constructor
A new instance of IdGenerator.
- #newID ⇒ Object
Constructor Details
#initialize ⇒ IdGenerator
Returns a new instance of IdGenerator.
5 |
# File 'lib/promoted/ruby/client/id_generator.rb', line 5 def initialize;end |
Instance Method Details
#newID ⇒ Object
7 8 9 |
# File 'lib/promoted/ruby/client/id_generator.rb', line 7 def newID SecureRandom.uuid end |