<?php

/**

 * SensFRX Main Class of App

 *

 */

namespace SensFRX\RecentAlert;

use SensFRX\Common\ApiCalls;

/**

 * Class RecentAlert

 *

 * @package RecentAlert

 */

class RecentAlert {

	private $objAPI;

	public function __construct($objAPI) {

		$this->objAPI = $objAPI;

	}

	public function getRecentAlert() {

		$method = 'GET';

		$url = '/recent-alerts';

		return $this->objAPI->callAPI($method, $url);

	}

}

