Class: FakeFaker::PhoneNumber

Inherits:
Object
  • Object
show all
Defined in:
lib/fake_faker/phonenumber.rb

Class Method Summary collapse

Class Method Details

.extension(length = nil) ⇒ Object



4
5
6
# File 'lib/fake_faker/phonenumber.rb', line 4

def extension(length = nil)
  ::Faker::PhoneNumber.extension(length: length)
end

.subscriber_number(length = nil) ⇒ Object



8
9
10
# File 'lib/fake_faker/phonenumber.rb', line 8

def subscriber_number(length = nil)
  ::Faker::PhoneNumber.subscriber_number(length: length)
end