| 1 | <?php |
||
| 10 | class ImportBatch extends Resource |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * The endpoint that will hit the API. |
||
| 14 | * |
||
| 15 | * @return string |
||
| 16 | */ |
||
| 17 | 16 | public function endPoint() |
|
| 21 | |||
| 22 | /** |
||
| 23 | * @param string $filePath |
||
| 24 | * @param array $options |
||
| 25 | * |
||
| 26 | * @return mixed |
||
| 27 | * @throws \GuzzleHttp\Exception\GuzzleException |
||
| 28 | * @throws \Vindi\Exceptions\RateLimitException |
||
| 29 | * @throws \Vindi\Exceptions\RequestException |
||
| 30 | */ |
||
| 31 | public function import($filePath, array $options) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * @param \SplFileObject $file |
||
| 41 | * @param array $options |
||
| 42 | * |
||
| 43 | * @return array |
||
| 44 | */ |
||
| 45 | private function buildRequestParams(\SplFileObject $file, array $options) |
||
| 64 | } |
||
| 65 |