/home/arranoyd/magicraft/wp-content/plugins/ninja-popups/include/mailerlite/ML_Lists.php
<?php
if(!class_exists('ML_Lists'))	
{	
	if (!class_exists('ML_Rest')) {
		require_once dirname(__FILE__).'/base/ML_Rest.php';
	}

	class ML_Lists extends ML_Rest
	{
		function __construct( $api_key )
		{	
			$this->name = 'lists';

			parent::__construct($api_key);
		}

		function getActive( $data = null )
		{
			$this->path .= 'active/';

			return $this->execute( 'GET', $data );
		}

		function getUnsubscribed( $data = null )
		{
			$this->path .= 'unsubscribed/';

			return $this->execute( 'GET', $data );
		}

		function getBounced( $data = null )
		{			
			$this->path .= 'bounced/';

			return $this->execute( 'GET', $data );
		}
	}
}
?>