Skip to content

Commit

Permalink
Merge pull request #30 from intelestream/master
Browse files Browse the repository at this point in the history
Ading serverTime endpoint
  • Loading branch information
geraldclark committed Sep 20, 2017
2 parents 9f5e760 + 560222e commit 0b0c681
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/Endpoint/GET/ServerTime.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php
/**
* ©[2016] SugarCRM Inc. Licensed by SugarCRM under the Apache 2.0 license.
*/

namespace SugarAPI\SDK\Endpoint\GET;

use SugarAPI\SDK\Endpoint\Abstracts\GET\AbstractGetEndpoint;

class ServerTime extends AbstractGetEndpoint
{
/**
* @inheritdoc
*/
protected $_URL = 'ping/whattimeisit';
}
1 change: 1 addition & 0 deletions src/Helpers/registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
'me' => 'GET\\Me',
'search' => 'GET\\Search',
'preferences' => 'GET\\MePreferences',
'serverTime' => 'GET\\ServerTime',

//POST API Endpoints
'oauth2Token' => 'POST\\OAuth2Token',
Expand Down

0 comments on commit 0b0c681

Please sign in to comment.