Sha256: 3e51ae9221f2f5a0a39d6eb87ba7ff2ce5b118e378307b65a7862c12c5577080
Contents?: true
Size: 761 Bytes
Versions: 1
Compression:
Stored size: 761 Bytes
Contents
# frozen_string_literal: true module FFakerTW module PhoneNumberDA extend ModuleUtils extend self # Generates a general phone number # xxxxxxxx # def home_work_phone_number phone_number end # Generates a mobile phone number # xxxxxxxxx # def mobile_phone_number phone_number end # generates mobile or home/work number def phone_number FFakerTW.numerify('########') end def country_code '+45' end def international_mobile_phone_number international_phone_number end def international_home_work_phone_number international_phone_number end def international_phone_number "#{country_code} #{phone_number}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ffakerTW-0.1.0 | lib/ffakerTW/phone_number_da.rb |