Sha256: 8ce48ea30f73aa27d7106a53f5330817e0a08533ee33c5da82a27d47ca1e8c21
Contents?: true
Size: 966 Bytes
Versions: 1
Compression:
Stored size: 966 Bytes
Contents
# frozen_string_literal: true require 'aamva/version' require 'aamva/cli' require 'aamva/generator' require 'aamva/validator' require 'aamva/decoder' require 'aamva/standard' require 'aamva/encoder' require 'aamva/calculator' require 'aamva/header' require 'aamva/subfile_designator' require 'aamva/subfile' require 'aamva/data' require 'aamva/factory' require 'aamva/utils' module AAMVA UPPER_ALPHA_CHARACTERS = ('A'..'Z').to_a LOWER_ALPHA_CHARACTERS = ('a'..'z').to_a ALPHA_CHARACTERS = UPPER_ALPHA_CHARACTERS + LOWER_ALPHA_CHARACTERS LENGTH_UNITS = %w[in cm].freeze DATE_FORMATS = { can: '%Y%m%d', usa: '%m%d%Y' }.freeze REQUIRED_DATA_ELEMENTS = %i[ dac dbc day ddf ddg ].freeze DAY_MAPPING = { 'BLK' => 'Black', 'BLU' => 'Blue', 'BRO' => 'Brown', 'GRY' => 'Gray', 'GRN' => 'Green', 'HAZ' => 'Hazel', 'MAR' => 'Maroon PNK Pink', 'DIC' => 'Dichromatic UNK Unknown' }.freeze end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aamva-0.2.0 | lib/aamva.rb |