Class | Faker::Code |
In: |
lib/faker/code.rb
|
Parent: | Base |
RBI | = | %w(01 10 30 33 35 44 45 49 50 51 52 53 54 86 91 98 99).freeze | Reporting body identifier | |
EAN_CHECK_DIGIT8 | = | [3, 1, 3, 1, 3, 1, 3] | ||
EAN_CHECK_DIGIT13 | = | [1, 3, 1, 3, 1, 3, 1, 3, 1, 3, 1, 3] |
By default generates 13 sign ean code in format 1234567890123 You can pass 8 to generate ean8 code
By default generates 10 sign isbn code in format 123456789-X You can pass 13 to generate new 13 sign code
Generates a 10 digit NPI (National Provider Identifier issued to health care providers in the United States)