cb-api 20.4.0 → 20.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0dce246c3f781e977326a05a51ad369716d8ea65
4
- data.tar.gz: a5e8b609b636b9ee49255bb8564dc647cfdb3bcc
3
+ metadata.gz: 5cff98f392a2cb2dd7fab43f1a8e269f0dfb93fe
4
+ data.tar.gz: 0e46681040fd59eae48741c7fbab4f5ec6244bf3
5
5
  SHA512:
6
- metadata.gz: f04d6575c2f5c72858186267d2ccb740bbcf6f7b7a41f87c52f8bbe9d0109e41d6566b994786a952fddedb188e690d39bd1761184532f38a963369a476d5abe9
7
- data.tar.gz: 07f15f30ee57ed337a6c3e2007fc4b0a73f09576f613509dfc5adfdb3ff1a7894459187ea3fcde88aefaac947b84a35a00217de1274318586939a6e2d2de02a7
6
+ metadata.gz: 666dcff8f8f2b971e75aca27a66b4aca54493b7c30700489984b7a270011d726d32af5ce726b861756a1c282f0776592bec461e81504869baab9ca196b3e3884
7
+ data.tar.gz: eae67bdc81dd9f9ac3a04edfad6aaa0817e5ff928adc6970ca5c5901426f8e897f82691283177387c3f575b80ac018b2f865859a8757809d6533faffda81f047
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
+ * 20.5.0 Adding resume insights client
5
6
  * 20.4.0 Add posting_date to recommendations for job model.
6
7
  * 20.3.0 Add new resume list API (/consumer/resumes)
7
8
  * 20.2.1 `class << self` for classes with all class methods. DRY up the URI building for Cover Letter Update & Delete.
@@ -0,0 +1,21 @@
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 ResumeInsights < Base
15
+ def self.keywords(args={})
16
+ uri = "#{ Cb.configuration.uri_keyword_insights }/#{ args[:id] }"
17
+ cb_client.cb_get(uri, headers: headers(args))
18
+ end
19
+ end
20
+ end
21
+ end
data/lib/cb/config.rb CHANGED
@@ -77,6 +77,7 @@ module Cb
77
77
  @uri_job_industry_search ||= '/v1/industrycodes'
78
78
  @uri_job_insights ||= '/consumer/job-insights'
79
79
  @uri_job_search ||= '/consumer/jobs/search/'
80
+ @uri_keyword_insights ||= '/consumer/insights/keywords'
80
81
  @uri_languages ||= '/consumer/datalist/languages'
81
82
  @uri_recommendation_for_job ||= '/v1/Recommendations/ForJob'
82
83
  @uri_recommendation_for_user ||= '/v1/Recommendations/ForUser'
@@ -87,6 +87,10 @@ module Cb
87
87
  Cb::Clients::Resumes
88
88
  end
89
89
 
90
+ def resume_insights
91
+ Cb::Clients::ResumeInsights
92
+ end
93
+
90
94
  def saved_search
91
95
  Cb::Clients::SavedSearch
92
96
  end
data/lib/cb/version.rb CHANGED
@@ -9,5 +9,5 @@
9
9
  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
10
10
  # See the License for the specific language governing permissions and limitations under the License.
11
11
  module Cb
12
- VERSION = '20.4.0'
12
+ VERSION = '20.5.0'
13
13
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cb-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 20.4.0
4
+ version: 20.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - The CareerBuilder.com Niche and Consumer Development teams
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-21 00:00:00.000000000 Z
11
+ date: 2016-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -224,6 +224,7 @@ files:
224
224
  - lib/cb/clients/job_branding.rb
225
225
  - lib/cb/clients/job_insights.rb
226
226
  - lib/cb/clients/recommendation.rb
227
+ - lib/cb/clients/resume_insights.rb
227
228
  - lib/cb/clients/resumes.rb
228
229
  - lib/cb/clients/saved_search.rb
229
230
  - lib/cb/clients/talent_network.rb