module GMO::PG::Util::OrderID

Constants

AVAILABLE_CHARS
MAX_LENGTH

Public Class Methods

generate(prefix: '', suffix: '', chars: AVAILABLE_CHARS, length: MAX_LENGTH) click to toggle source
# File lib/gmo-pg/util.rb, line 21
def self.generate(prefix: '', suffix: '', chars: AVAILABLE_CHARS, length: MAX_LENGTH)
  RandomString.generate(prefix: prefix, suffix: suffix, chars: chars, length: length)
end