<?php

/**

 * SensFRX Main Class of App

 *

 */

namespace SensFRX\ImprtExport;

use SensFRX\Common\ApiCalls;

/**

 * Class ImprtExport

 *

 * @package ImprtExport

 */

class ImprtExport {

	private $objAPI; 

	public function __construct($objAPI) {

		$this->objAPI = $objAPI;

	}

	public function getImport() {

		$method = 'GET';

		$url = '/policy-management/export-policies';

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

	}

	public function postExport($postExportInfo) {

		$method = 'POST';

		$url = '/policy-management/import-policies';

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

	}

}

