This repository has been archived by the owner on Aug 21, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Jobs API can take multiple comma-separated organization codes
- Created v3 of jobs API - Updated README to point at developer API docs, and DRY'd up stuff that appeared in both places - Removed API v1 support - Switched to using Agency API v2 - tags param supports both space and comma delimiters Closes #1
- Loading branch information
Showing
16 changed files
with
473,249 additions
and
343 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
class Api::V3::PositionOpeningsController < ApplicationController | ||
include NewRelic::Agent::Instrumentation::ControllerInstrumentation | ||
|
||
def search | ||
@position_openings = PositionOpening.search_for(params.slice(:query, :organization_ids, :tags, :size, :from, :hl, :lat_lon)) | ||
render | ||
end | ||
|
||
add_transaction_tracer :search | ||
end |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
json.array! @position_openings do |position_opening| | ||
json.(position_opening, :id, :position_title, :organization_name, :rate_interval_code, :minimum, :maximum, :start_date, :end_date, :locations, :url) | ||
end |
Oops, something went wrong.