<?php

namespace App\Integrations\Semrush\Requests;

use App\Integrations\Common\Configurable;

final class GetApiUnitsRequest extends Configurable implements RequestInterface
{
    protected $options = [
        'url' => 'http://www.semrush.com/users/countapiunits.html',
        'method' => 'GET',
    ];

    public function __construct()
    {
        parent::__construct();
    }

    /**
     * @return string
     */
    public function getMethod(): string
    {
        return $this->getOption('method');
    }

    public function getUri()
    {
        return $this->getOption('url').'?key='.$this->getOption('key');
    }

    public function getBody()
    {
        return;
    }
}
