Class: FakeFaker::Vehicle
- Inherits:
-
Object
- Object
- FakeFaker::Vehicle
- Defined in:
- lib/fake_faker/vehicle.rb
Class Method Summary collapse
- .kilometrage(min = nil, max = nil) ⇒ Object
- .license_plate(state_abreviation = nil) ⇒ Object
- .mileage(min = nil, max = nil) ⇒ Object
- .model(make_of_model = nil) ⇒ Object
Class Method Details
.kilometrage(min = nil, max = nil) ⇒ Object
4 5 6 |
# File 'lib/fake_faker/vehicle.rb', line 4 def kilometrage(min = nil, max = nil) ::Faker::Vehicle.kilometrage(min: min, max: max) end |
.license_plate(state_abreviation = nil) ⇒ Object
8 9 10 |
# File 'lib/fake_faker/vehicle.rb', line 8 def license_plate(state_abreviation = nil) ::Faker::Vehicle.license_plate(state_abreviation: state_abreviation) end |
.mileage(min = nil, max = nil) ⇒ Object
12 13 14 |
# File 'lib/fake_faker/vehicle.rb', line 12 def mileage(min = nil, max = nil) ::Faker::Vehicle.mileage(min: min, max: max) end |
.model(make_of_model = nil) ⇒ Object
16 17 18 |
# File 'lib/fake_faker/vehicle.rb', line 16 def model(make_of_model = nil) ::Faker::Vehicle.model(make_of_model: make_of_model) end |