<?php

namespace App\Crm\Config;

use App\Facades\Settings;

class FuseCrmConfig
{
    public function enabled(): bool
    {
        return (bool) Settings::get('fuse-crm-enabled');
    }

    public function clientId(): ?string
    {
        return Settings::get('fuse-crm-client-id');
    }

    public function clientSecret(): ?string
    {
        return Settings::get('fuse-crm-client-secret');
    }

    public function apiDomain(): ?string
    {
        return Settings::get('fuse-crm-domain');
    }
}
