migrate to gtea from bistbucket
This commit is contained in:
32
public/restaurant/app/Library/Responses.php
Normal file
32
public/restaurant/app/Library/Responses.php
Normal file
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
// default responses
|
||||
const GATEWAYS_DEFAULT_200 = [
|
||||
'response_code' => 'gateways_default_200',
|
||||
'message' => 'successfully loaded',
|
||||
];
|
||||
|
||||
const GATEWAYS_DEFAULT_204 = [
|
||||
'response_code' => 'gateways_default_204',
|
||||
'message' => 'information not found',
|
||||
];
|
||||
|
||||
const GATEWAYS_DEFAULT_400 = [
|
||||
'response_code' => 'gateways_default_400',
|
||||
'message' => 'invalid or missing information',
|
||||
];
|
||||
|
||||
const GATEWAYS_DEFAULT_404 = [
|
||||
'response_code' => 'gateways_default_404',
|
||||
'message' => 'resource not found',
|
||||
];
|
||||
|
||||
const GATEWAYS_DEFAULT_UPDATE_200 = [
|
||||
'response_code' => 'gateways_default_update_200',
|
||||
'message' => 'successfully updated',
|
||||
];
|
||||
|
||||
const GATEWAYS_STATUS_UPDATE_FAIL = [
|
||||
'response_code' => 'gateways_default_update_200',
|
||||
'message' => 'status update failed',
|
||||
];
|
||||
Reference in New Issue
Block a user