Class: FakeFaker::Address
- Inherits:
-
Object
- Object
- FakeFaker::Address
- Defined in:
- lib/fake_faker/address.rb
Class Method Summary collapse
- .city(options = nil) ⇒ Object
- .postcode(state_abbreviation = nil) ⇒ Object
- .street_address(include_secondary = nil) ⇒ Object
- .zip(state_abbreviation = nil) ⇒ Object
- .zip_code(state_abbreviation = nil) ⇒ Object
Class Method Details
.city(options = nil) ⇒ Object
4 5 6 |
# File 'lib/fake_faker/address.rb', line 4 def city( = nil) ::Faker::Address.city(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 |