<?php

namespace ModulesGarden\OpenXchangeAddon\Core\Api;

use \ModulesGarden\OpenXchangeAddon\Core\Api\AbstractApi\Curl\Request;
use \ModulesGarden\OpenXchangeAddon\Core\DependencyInjection;

/**
 * Description of AbstractApi
 *
 * @author Rafał Ossowski <rafal.os@modulesgarden.com>
 */
class AbstractApi
{
    protected $token;
    protected $code;

    /**
     * @return Request
     */
    protected function getNewRequest()
    {
        return DependencyInjection::create(Request::class);
    }
}
