7 lines
104 B
Ruby
7 lines
104 B
Ruby
|
|
require 'securerandom'
|
||
|
|
|
||
|
|
class AnonymousUser
|
||
|
|
def self.uid
|
||
|
|
SecureRandom.uuid.gsub!('-','')
|
||
|
|
end
|
||
|
|
end
|