Renaming issues fixed, and also adding the Rest API class for the ActionsByEmail Enterprise Feature

This commit is contained in:
Gustavo Cruz
2015-02-18 17:31:53 -04:00
parent 550e7bcc06
commit 382d1a57a9
64 changed files with 261 additions and 2 deletions

View File

@@ -0,0 +1,29 @@
<?php
namespace Features\ActionsByEmail;
use Luracast\Restler\RestException;
use ProcessMaker\Services\Api;
/**
* Class Project
*
* @package Features\ActionsByEmail
* @author gustavo cruz <gustavo.cruz@colosa.com>
* @protected
*/
class ActionsByEmail extends Api
{
/**
* @url GET
*/
public function getABEList()
{
try {
$projects = array('status' => 200, 'message' => 'Hello');
return $projects;
} catch (\Exception $e) {
throw new RestException(Api::STAT_APP_EXCEPTION, $e->getMessage());
}
}
}