@@ 89-96 (lines=8) @@ | ||
86 | $this->requestResource('delete', $verb); |
|
87 | } |
|
88 | ||
89 | protected function requestResource($method = 'get', $verb = '', $params = []) |
|
90 | { |
|
91 | $method = strtolower($method); |
|
92 | ||
93 | return $this->request->makeRequest( |
|
94 | $method, $this->getResourceUri($verb), $params |
|
95 | ); |
|
96 | } |
|
97 | ||
98 | protected function requestResourceJson($method = 'get', $verb = '', $params = []) |
|
99 | { |
|
@@ 98-105 (lines=8) @@ | ||
95 | ); |
|
96 | } |
|
97 | ||
98 | protected function requestResourceJson($method = 'get', $verb = '', $params = []) |
|
99 | { |
|
100 | $method = strtolower($method); |
|
101 | ||
102 | return $this->request->makeRequest( |
|
103 | $method, $this->getResourceUri($verb), $params |
|
104 | ); |
|
105 | } |
|
106 | ||
107 | /** |
|
108 | * @param string $uri |