<?php

namespace App\Modules\Valuation\Config;

use App\Facades\Settings;
use Mtc\VehicleValuation\Config\GoodbyeCarConfig;

class GoodbyeCar extends GoodbyeCarConfig
{
    #[\Override]
    public function enabled(): bool
    {
        return Settings::get('valuation-goodbye-car-enabled') ?? false;
    }

    #[\Override]
    public function apiKey(): string
    {
        return Settings::get('valuation-goodbye-car-api-key');
    }
}
