| Conditions | 3 |
| Paths | 2 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | public function list(int $page = 1, int $perPage = 100): ApiResponse |
||
| 20 | { |
||
| 21 | if (1 > $perPage || 1000 < $perPage) { |
||
| 22 | throw new DripException('Invalid per page; maximum 1000'); |
||
| 23 | } |
||
| 24 | |||
| 25 | return $this->makeRequest( |
||
| 26 | self::GET, |
||
| 27 | $this->prepareUrl('/:account_id:/event_actions'), |
||
| 28 | [ |
||
| 29 | 'page' => $page, |
||
| 30 | 'per_page' => $perPage, |
||
| 31 | ] |
||
| 51 |