Apple_Push_API\API::__construct PHP Method

__construct() public method

Constructor.
public __construct ( $endpoint, $credentials, $debug = false )
    function __construct($endpoint, $credentials, $debug = false)
    {
        $this->endpoint = $endpoint;
        $this->request = new Request($credentials, $debug);
    }