Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
repat authored Aug 30, 2019
2 parents 400780b + 5fcd3e3 commit fe032e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/PlentymarketsRestClient/PlentymarketsRestClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class PlentymarketsRestClient
const METHOD_POST = 'POST';
const METHOD_PUT = 'PUT';
const METHOD_PATCH = 'PATCH';

const METHOD_DELETE = 'DELETE';
const THROTTLING_PREFIX_LONG_PERIOD = 'X-Plenty-Global-Long-Period';
const THROTTLING_PREFIX_SHORT_PERIOD = 'X-Plenty-Global-Short-Period';
Expand Down Expand Up @@ -105,7 +106,7 @@ public function patch($path, $array = [])
{
return $this->singleCall(self::METHOD_PATCH, $path, ['json' => $array]);
}

public function delete($path, $array = [])
{
return $this->singleCall(self::METHOD_DELETE, $path, ['json' => $array]);
Expand Down

0 comments on commit fe032e8

Please sign in to comment.