-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into add-pt-br-locales-for-subscription
- Loading branch information
Showing
3 changed files
with
15 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# Faker::NationalHealthService | ||
|
||
```ruby | ||
Faker::NationalHealthService.british_number #=> "403 958 5577" | ||
The NHS sets aside a range of numbers from 999 000 0000 to 999 999 9999 for | ||
test purposes. For more details, see [NHS Digital documentation about | ||
synthetic data](https://digital.nhs.uk/services/e-referral-service/document-library/synthetic-data-in-live-environments#synthetic-data-naming-convention). | ||
|
||
# Keyword arguments: number | ||
Faker::NationalHealthService.check_digit(number: 400_012_114) #=> 6 | ||
```ruby | ||
Faker::NationalHealthService.british_number #=> "999 464 0232" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters