Sha256: 0a34163e48269664d4b0b392004061fbeefbffdfde680ac6fa07de140bd93b1c
Contents?: true
Size: 523 Bytes
Versions: 11
Compression:
Stored size: 523 Bytes
Contents
# frozen_string_literal: true module ActiveUxid class Configuration attr_accessor :encoding_chars, :encoding_length, :encoding_salt def initialize @encoding_chars = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' @encoding_length = 26 @encoding_salt = 1369136 end end def self.configuration @configuration ||= Configuration.new end def self.configuration=(config) @configuration = config end def self.configure yield(configuration) end end
Version data entries
11 entries across 11 versions & 1 rubygems