ConnectCorp/nexmo-client

View on GitHub
src/Service/Voice.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Nexmo\Service;

use Nexmo\Exception;

/**
 * Class Voice
 * @package Nexmo\Service
 */
class Voice extends Service
{
    /**
     * @return string
     */
    public function getEndpoint()
    {
        return 'call/json';
    }

    /**
     * @return array
     * @throws Exception
     */
    public function invoke()
    {
        throw new Exception("Not Implemented");
    }

    /**
     * @param array $json
     * @return bool
     */
    protected function validateResponse(array $json)
    {
        return true;
    }
}