Sha256: b7e8e5c687a19dbc48e3374325b52b6ff02016f7e175378e7163a4791e000ec5

Contents?: true

Size: 611 Bytes

Versions: 1

Compression:

Stored size: 611 Bytes

Contents

# frozen_string_literal: true

require 'aamva/version'
require 'aamva/card'
require 'aamva/data_element'
require 'aamva/cli'
require 'aamva/generator'
require 'aamva/validator'

module Aamva
  DAY_LENGTH = 3
  MAX_DAC_LENGTH = 40

  DCG_MAPPING = {
    'USA' => 'USA',
    'CAN' => 'CAN'
  }

  DBC_MAPPING = {
    "1" => "Male",
    "2" => "Female",
    "9" => "Not Specified"
  }

  DAY_MAPPING = {
    'BLK' => 'Black',
    'BLU' => 'Blue',
    'BRO' => 'Brown',
    'GRY' => 'Gray',
    'GRN' => 'Green',
    'HAZ' => 'Hazel',
    'MAR' => 'Maroon PNK Pink',
    'DIC' => 'Dichromatic UNK Unknown',
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aamva-0.1.0 lib/aamva.rb