Skip to content

Commit

Permalink
Add another example
Browse files Browse the repository at this point in the history
  • Loading branch information
JayBizzle committed Aug 14, 2015
1 parent 3cfba5b commit ccf804f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ Some more examples...
```php
// list deployments for environment and limit results
$deployments = $db->environmentId(3452)->limit(10)->getDeployments();

// list repositories and limit results
$repositories = $db->limit(20)->getRepositories();
```

_NOTE: Query parameters are listed in the DeployBot API docs as `snake_case` but we access them using `camelCase` methods so all method calls have a consistent naming convention_

0 comments on commit ccf804f

Please sign in to comment.