Abhay Saraf
f2e0d6cbe3
Adding new function editPageRule to allow put method to support removal of rule settings or rule action items from the page rule which is not supported by updatePageRule.
2020-01-28 15:26:35 +05:30
indeed-a-genius
2ba05a3ba5
Incorrect listPageRules() conditions for optional parameters
2019-09-17 14:29:22 +02:00
easelify
6a29d75001
Fix updatePageRule() method
2019-05-17 20:18:22 +08:00
Levi Durfee
2639331c2b
Add BodyAccessorTrait to most classes
2018-10-19 10:48:25 -04:00
Darin Randal
cca073c809
Code cleanup / Quality of Life updates
...
Adapter::get, post, put, patch and delete all had non-optional parameters for $headers and $query or $body. These have been made optional. I also re-ordered the parameters as $headers was never used while $query/$body were heavily used. I also condensed and removed some duplicate calls so that every call to Adapter::get/post sends that call to Adapter::request. It could use a magic method to do this but it might make it more difficult to test.
2018-04-12 23:11:04 -04:00
Kleis Auke Wolthuizen
0aa9f6c05a
Fix null pointer exception
2017-11-21 17:48:03 +01:00
Kleis Auke Wolthuizen
90eaea7be2
Use === null instead
2017-11-21 17:39:42 +01:00
Junade Ali
ca9e5bbc28
Enabled PHPMD for src and tests
2017-10-13 15:18:08 +01:00
Anthony Sterling
2faff272df
Applied PSR2 formatting to existing files
2017-09-23 18:50:51 +01:00
Junade
b91dd5e684
Merge pull request #5 from typhonius/add-query-to-get
...
Adds the query parameter to the guzzle call for GET requests.
2017-09-21 23:16:50 +01:00
Adam Malone
7d838d7f5f
Adds the query parameter to the guzzle call for GET requests.
2017-09-21 11:45:21 +10:00
Junade Ali
85d64f8afc
COM-45 :: Bugfix active status in Page Rules
2017-09-20 14:50:55 +01:00
Junade Ali
4699270f51
COM-45 :: Bugfix Page Rules class
2017-09-20 14:32:46 +01:00
Junade Ali
3166645a0c
COM-40 :: Added Page Rules endpoint.
2017-09-20 11:52:33 +01:00
Junade Ali
4876787118
COM-40 :: Added None Auth class, IPs endpoint and associated tests
2017-09-04 20:22:23 +01:00