-
-
Save robins35/c6f73869366f5b050ecf to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
keywords = cgi.params['q'] | |
10 moc = cgi.params['moc'] | |
11 loc = cgi.params['location'] | |
12 nearCity = cgi.params['includeNearbyCities'] | |
13 datePosted = cgi.params['datePosted'] | |
14 sortBy = cgi.params['sort'] | |
15 order = cgi.params['order'] | |
16 page = cgi.params['offset'] | |
17 industry = cgi.params['jobposting-industry'] | |
18 category = cgi.params['jobposting-occupationalcategory'] | |
19 | |
20 unless keywords.nil? or keywords.empty? then url.concat("&q=#{keywords}") end | |
21 unless moc.nil? or moc.empty? then url.concat("&moc=#{moc}") end | |
22 unless loc.nil? or loc.empty? then url.concat("&location=#{loc}") end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment