<?php

namespace App\Modules\Valuation\Config;

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

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

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