Skip to content

Commit

Permalink
Merge pull request #3 from wondeltd/php-client-2
Browse files Browse the repository at this point in the history
#2 - Add audit endpoint
  • Loading branch information
Hodglim authored Oct 31, 2017
2 parents f438438 + aa8d58a commit 90c5e03
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Endpoints/Schools.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,19 @@ public function pending($includes = [], $parameters = [])
return $this->all($includes, $parameters);
}

/**
* Return all audited schools
*
* @param array $includes
* @param array $parameters
* @return mixed|\Psr\Http\Message\ResponseInterface
*/
public function audited($includes = [], $parameters = [])
{
$this->uri = $this->uri . 'audited/';
return $this->all($includes, $parameters);
}

/**
* Search available schools
*
Expand Down

0 comments on commit 90c5e03

Please sign in to comment.