| @@ 155-161 (lines=7) @@ | ||
| 152 | * |
|
| 153 | * @return JCResponseInterface |
|
| 154 | */ |
|
| 155 | public function put($path = '', $options = array()) |
|
| 156 | { |
|
| 157 | return $this->client->put($this->getPathURI($path), |
|
| 158 | $this->addDataToRequest($options, true), |
|
| 159 | $this->requestHeader |
|
| 160 | ); |
|
| 161 | } |
|
| 162 | ||
| 163 | /** |
|
| 164 | * @param string $path |
|
| @@ 169-176 (lines=8) @@ | ||
| 166 | * |
|
| 167 | * @return JCResponseInterface |
|
| 168 | */ |
|
| 169 | public function post($path = '', $options = array()) |
|
| 170 | { |
|
| 171 | return $this->client->post( |
|
| 172 | $this->getPathURI($path), |
|
| 173 | $this->addDataToRequest($options, true), |
|
| 174 | $this->requestHeader |
|
| 175 | ); |
|
| 176 | } |
|
| 177 | ||
| 178 | /** |
|
| 179 | * @param string $path |
|
| @@ 184-191 (lines=8) @@ | ||
| 181 | * |
|
| 182 | * @return JCResponseInterface |
|
| 183 | */ |
|
| 184 | public function patch($path = '', $options = array()) |
|
| 185 | { |
|
| 186 | return $this->client->patch( |
|
| 187 | $this->getPathURI($path), |
|
| 188 | $this->addDataToRequest($options, true), |
|
| 189 | $this->requestHeader |
|
| 190 | ); |
|
| 191 | } |
|
| 192 | ||
| 193 | /** |
|
| 194 | * @param string $path |
|