Refactoring base url #38

This commit is contained in:
Alex
2026-07-26 12:56:32 +03:00
parent a35e1a22ad
commit 4516db5ffd
8 changed files with 35 additions and 11 deletions
+3 -3
View File
@@ -48,12 +48,12 @@ use RuntimeException;
*/
class Api
{
public const string LIBRARY_VERSION = '1.6.5';
public const string API_BASE_URL = 'https://platform-api2.max.ru';
public const string LIBRARY_VERSION = '1.6.6';
public const string API_VERSION = '1.2.5';
private const string API_BASE_URL = 'https://platform-api2.max.ru';
private const string METHOD_GET = 'GET';
private const string METHOD_POST = 'POST';
private const string METHOD_DELETE = 'DELETE';