Sha256: 6a754a916a79221f0542d8f37be4e9ea4e1a7f5948719b9b77815e8d8b8ba81c
Contents?: true
Size: 518 Bytes
Versions: 5
Compression:
Stored size: 518 Bytes
Contents
# frozen_string_literal: true module EncodedId module Rails # Configuration class for initializer class Configuration attr_accessor :salt, :character_group_size, :group_separator, :alphabet, :id_length, :slugged_id_separator def initialize @character_group_size = 4 @group_separator = "-" @alphabet = ::EncodedId::Alphabet.modified_crockford @id_length = 8 @slugged_id_separator = "--" end end end end
Version data entries
5 entries across 5 versions & 1 rubygems