You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Besides the locale-specific ID Number methods. Faker supports retrieving localised calls to `.valid` and `.invalid`.
56
+
Here is an example:
57
+
58
+
```ruby
59
+
Faker::Config.locale ='fr-FR'
60
+
Faker::IdNumber.valid #=> "22510589696868"
61
+
```
62
+
63
+
Locales with specific intricacies are as such:
64
+
65
+
### en-GB
66
+
When provided with British English, unformatted'[National Insurance](https://www.gov.uk/national-insurance/your-national-insurance-number)' numbers are generated.
67
+
Note: Faker can only generate a subset of all possible legal/illegal national insurance numbers.
0 commit comments