Skip to content

nosolosoftware/faker_spanish_documents

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Faker::SpanishDocuments

Gem to generate fake spanish documents as DNI, CIF or NIE. It's based on the well-known gem Faker.

Installation

Add this line to your application's Gemfile:

gem 'faker_spanish_documents'

And then execute:

$ bundle

Or install it yourself as:

$ gem install faker_spanish_documents

Usage

Its use is pretty easy, it exposes three method one for each type of document.

Faker::SpanishDocuments.dni
Faker::SpanishDocuments.cif
Faker::SpanishDocuments.nie

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages