module FFaker::Vehicle
def base_color
def base_color FFaker::Color.name end
def drivetrain
def drivetrain fetch_sample(DRIVETRAINS) end
def engine_cylinders
def engine_cylinders fetch_sample(CYLINDERS) end
def engine_displacement
def engine_displacement fetch_sample(DISPLACEMENTS_LIST) end
def fuel_type
def fuel_type fetch_sample(FUEL_TYPES_LIST) end
def interior_upholstery
def interior_upholstery fetch_sample(UPHOLSTERY_LIST) end
def make
def make fetch_sample(MAKES_LIST) end
def manufacturer_color(count = 2)
def manufacturer_color(count = 2) # Take two prefixes because it's more fun than one (fetch_sample(COLOR_PREFIXES, count: count) + [base_color]).join(' ') end
def model
def model fetch_sample(MODELS_LIST) end
def transmission
def transmission fetch_sample(TRANSMISSIONS_LIST) end
def transmission_abbr
def transmission_abbr fetch_sample(TRANSMISSIONS_ABBR) end
def trim
def trim fetch_sample(TRIMS_LIST) end
def vin
def vin FFaker.bothify('1#???#####?######').upcase end
def year
def year fetch_sample(YEARS) end