From bf8716e0b8cbf020d9998c2a0010515b9a364208 Mon Sep 17 00:00:00 2001 From: Junade Ali Date: Tue, 6 Jun 2017 17:05:21 +0100 Subject: [PATCH] Finished user endpoints, started zone ones. --- .idea/cloudflare-php.iml | 116 ++++- .idea/misc.xml | 13 - .idea/php.xml | 5 + .idea/workspace.xml | 689 +++++++++++++++++----------- README.md | 15 +- src/Adapter/Guzzle.php | 36 +- src/Adapter/JSONException.php | 15 + src/Adapter/ResponseException.php | 15 + src/Endpoints/EndpointException.php | 15 + src/Endpoints/User.php | 20 +- src/Endpoints/Zones.php | 39 ++ tests/Adapter/GuzzleTest.php | 62 ++- tests/Endpoints/UserTest.php | 126 ++++- tests/Endpoints/ZonesTest.php | 103 +++++ 14 files changed, 957 insertions(+), 312 deletions(-) delete mode 100644 .idea/misc.xml create mode 100644 src/Adapter/JSONException.php create mode 100644 src/Adapter/ResponseException.php create mode 100644 src/Endpoints/EndpointException.php create mode 100644 src/Endpoints/Zones.php create mode 100644 tests/Endpoints/ZonesTest.php diff --git a/.idea/cloudflare-php.iml b/.idea/cloudflare-php.iml index 2f9219e..0201f6c 100644 --- a/.idea/cloudflare-php.iml +++ b/.idea/cloudflare-php.iml @@ -1,9 +1,123 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 72abef0..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/.idea/php.xml b/.idea/php.xml index 10b171f..144c971 100644 --- a/.idea/php.xml +++ b/.idea/php.xml @@ -1,4 +1,9 @@ + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4f30e22..c26731d 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,15 +2,18 @@ - - - - - - - + + + + + + + + + + @@ -30,50 +33,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + var + var_ + var_u + var_d + var_du + var_dum + @@ -106,20 +86,48 @@ true DEFINITION_ORDER - - -