<?php

namespace App\Crm\Config;

use App\Facades\Settings;

class DealerKitCrmConfig
{
    public function enabled(): bool
    {
        return (bool) Settings::get('dealerkit-crm-enabled', false);
    }

    public function apiSecret(): ?string
    {
        return Settings::get('dealerkit-crm-api-secret');
    }

    public function useLiveApi(): bool
    {
        return (bool) Settings::get('dealerkit-crm-use-live-api', false);
    }
}
