Class: FakeFaker::Address

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

Class Method Summary collapse

Class Method Details

.city(options = nil) ⇒ Object



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

def city(options = nil)
  ::Faker::Address.city(options: options)
end

.postcode(state_abbreviation = nil) ⇒ Object



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

def postcode(state_abbreviation = nil)
  ::Faker::Address.postcode(state_abbreviation: state_abbreviation)
end

.street_address(include_secondary = nil) ⇒ Object



12
13
14
# File 'lib/fake_faker/address.rb', line 12

def street_address(include_secondary = nil)
  ::Faker::Address.street_address(include_secondary: include_secondary)
end

.zip(state_abbreviation = nil) ⇒ Object



16
17
18
# File 'lib/fake_faker/address.rb', line 16

def zip(state_abbreviation = nil)
  ::Faker::Address.zip(state_abbreviation: state_abbreviation)
end

.zip_code(state_abbreviation = nil) ⇒ Object



20
21
22
# File 'lib/fake_faker/address.rb', line 20

def zip_code(state_abbreviation = nil)
  ::Faker::Address.zip_code(state_abbreviation: state_abbreviation)
end