Class: Jason::Encryptors::Document
- Inherits:
-
Object
- Object
- Jason::Encryptors::Document
- Defined in:
- lib/jason/crypt/document_id.rb
Class Method Summary collapse
Class Method Details
.process_document_id(length = 21) ⇒ Object
7 8 9 |
# File 'lib/jason/crypt/document_id.rb', line 7 def self.process_document_id(length=21) rand(36**length).to_s(36) end |