mirror of
https://github.com/internetee/registry.git
synced 2025-06-08 05:34:46 +02:00
10 lines
166 B
Ruby
10 lines
166 B
Ruby
module Billing
|
|
class ReferenceNo
|
|
REGEXP = /\A\d{2,20}\z/
|
|
|
|
def self.generate
|
|
base = Base.generate
|
|
"#{base}#{base.check_digit}"
|
|
end
|
|
end
|
|
end
|