cb-api 21.0.1 → 21.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -0
- data/lib/cb/clients/expired_job.rb +23 -0
- data/lib/cb/config.rb +1 -0
- data/lib/cb/convenience.rb +4 -0
- data/lib/cb/version.rb +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b17a05d6a9bd1ab986878bb1b6726d2a8fb0f522
|
4
|
+
data.tar.gz: a827bc2544616d9ad17ab3b49dc8f72672c3dc31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 39aa255dd57ec3b86c0ec1292e874e4311113220cd019a980ce10a7578d99b19bd7e53cc481dc6301bc842a2adf4a3b9b9f2a793fd7a18fe02b333fdd656d35a
|
7
|
+
data.tar.gz: 7f842de241a39129a608b25f7af121cb76b2c62c730820cd66a0e01e7582cace17092fdfbb6339c3ced28f93e52ee98b427c8e626d3ff0ddbaf5e8b8091bfde2
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,7 @@ Version History
|
|
2
2
|
====
|
3
3
|
* All Version bumps are required to update this file as well!!
|
4
4
|
----
|
5
|
+
* 21.1.0 Add expired job API (/v1/job/expired)
|
5
6
|
* 21.0.1 JobSearch calls gets the args[:HostSite] in addition to args[:host_site]
|
6
7
|
* 21.0.0 Add browser id api, Add datalists, Removing old data apis, Removing old coverletters version,remove old resume list, expanding the types of exceptions that can be returned
|
7
8
|
* 20.6.0 Add new saved jobs API (/consumer/saved-jobs)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
# Copyright 2016 CareerBuilder, LLC
|
2
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
3
|
+
# you may not use this file except in compliance with the License.
|
4
|
+
# You may obtain a copy of the License at
|
5
|
+
#
|
6
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
7
|
+
# Unless required by applicable law or agreed to in writing, software
|
8
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
9
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
10
|
+
# See the License for the specific language governing permissions and limitations under the License.
|
11
|
+
require_relative 'base'
|
12
|
+
module Cb
|
13
|
+
module Clients
|
14
|
+
class ExpiredJob < Base
|
15
|
+
# http://api.careerbuilder.com/ExpiredJobInfo.aspx
|
16
|
+
def self.get(args={})
|
17
|
+
uri = Cb.configuration.uri_job_expired
|
18
|
+
query_params = { 'JobDID' => args[:job_did] }
|
19
|
+
cb_client.cb_get(uri, headers: headers(args), query: query_params)
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/cb/config.rb
CHANGED
@@ -64,6 +64,7 @@ module Cb
|
|
64
64
|
@uri_cover_letters ||= '/consumer/coverletters'
|
65
65
|
@uri_data_list ||= '/consumer/datalist'
|
66
66
|
@uri_job_branding ||= '/branding'
|
67
|
+
@uri_job_expired ||= '/v1/job/expired'
|
67
68
|
@uri_job_find ||= '/v3/Job'
|
68
69
|
@uri_job_insights ||= '/consumer/job-insights'
|
69
70
|
@uri_job_search ||= '/consumer/jobs/search/'
|
data/lib/cb/convenience.rb
CHANGED
data/lib/cb/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cb-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 21.0
|
4
|
+
version: 21.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- The CareerBuilder.com Niche and Consumer Development teams
|
@@ -218,6 +218,7 @@ files:
|
|
218
218
|
- lib/cb/clients/company.rb
|
219
219
|
- lib/cb/clients/cover_letters.rb
|
220
220
|
- lib/cb/clients/data_list.rb
|
221
|
+
- lib/cb/clients/expired_job.rb
|
221
222
|
- lib/cb/clients/job.rb
|
222
223
|
- lib/cb/clients/job_branding.rb
|
223
224
|
- lib/cb/clients/job_insights.rb
|