Generate Server Tracking ID

This commit is contained in:
Martin Lensment 2014-06-27 15:59:50 +03:00
parent bb3fc43261
commit 89c67ca637
4 changed files with 4 additions and 2 deletions

View file

@ -6,6 +6,7 @@ module Epp::Common
end
def proxy
@svTRID = "ccReg-#{'%010d' % rand(10 ** 10)}"
send(params[:command])
end