Module: TentD::Model::RandomPublicId::ClassMethods

Defined in:
lib/tentd/model/random_public_id.rb

Instance Method Summary collapse

Instance Method Details

#random_idObject



13
14
15
# File 'lib/tentd/model/random_public_id.rb', line 13

def random_id
  rand(36 ** 6).to_s(36)
end