mirovit/ionic-platform-sdk

View on GitHub
src/Endpoints/Traits/DeletesResource.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Mirovit\IonicPlatformSDK\Endpoints\Traits;

use Mirovit\IonicPlatformSDK\Response\Response;

trait DeletesResource
{
    /**
     * Delete a resource.
     *
     * @param $uuid
     * @return Response
     */
    public function delete($uuid)
    {
        $response = $this->client->delete("{$this->getEndpoint()}/{$uuid}");

        return null;
    }
}