| 1 | <?php namespace JobApis\Jobs\Client\Queries; |
||
| 3 | class CareersInGovQuery extends AbstractQuery |
||
| 4 | { |
||
| 5 | /** |
||
| 6 | * Careers in Government provides no search parameters, just |
||
| 7 | * a feed of all their latest jobs via RSS. |
||
| 8 | */ |
||
| 9 | |||
| 10 | /** |
||
| 11 | * Get baseUrl |
||
| 12 | * |
||
| 13 | * @return string Value of the base url to this api |
||
| 14 | */ |
||
| 15 | public function getBaseUrl() |
||
| 16 | { |
||
| 17 | return 'https://www.careersingovernment.com/rss'; |
||
| 18 | } |
||
| 19 | |||
| 20 | |||
| 21 | /** |
||
| 22 | * Get http method options based on current client. Good for adding POST parameters. |
||
| 23 | * |
||
| 24 | * @return array |
||
| 25 | */ |
||
| 26 | public function getHttpMethodOptions() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Get keyword |
||
| 40 | * |
||
| 41 | * @return string Attribute being used as the search keyword |
||
| 42 | */ |
||
| 43 | public function getKeyword() |
||
| 47 | } |
||
| 48 |