Created
July 23, 2018 12:53
-
-
Save ashoaib/c90c73e06ff9b6381f851e3db5e14d2f to your computer and use it in GitHub Desktop.
Defining a Chef resource
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App\Resources\Order; | |
use \Gousto\Requesto\Model; | |
/** | |
* Class Order | |
* | |
* @package App\Resources\Order | |
*/ | |
class Order extends Model | |
{ | |
/** | |
* @var string | |
* | |
* The microservice where the resource resides. | |
*/ | |
protected $service = 'orders'; | |
/** | |
* @var string | |
* | |
* The resource endpoint. | |
*/ | |
protected $resource = 'orders'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment