mailgun-php/tests/Mailgun/Tests/Mock/Mailgun.php

18 lines
389 B
PHP
Raw Normal View History

2013-08-08 21:39:44 +04:00
<?PHP
namespace Mailgun\Tests\Mock;
2013-08-08 21:39:44 +04:00
use Mailgun\Mailgun as Base;
use Mailgun\Tests\Mock\Connection\TestBroker;
2013-08-08 21:39:44 +04:00
class Mailgun extends Base
2013-08-08 21:39:44 +04:00
{
2014-05-14 17:06:05 +04:00
protected $debug;
protected $restClient;
public function __construct($apiKey = null, $apiEndpoint = "api.mailgun.net", $apiVersion = "v3")
2014-05-14 17:06:05 +04:00
{
$this->restClient = new TestBroker($apiKey, $apiEndpoint, $apiVersion);
}
}