<?php
if(!class_exists('ML_Lists'))	
{	
	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 );
		}
	}
}
?>