cb-api 20.2.1 → 20.3.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: 93505a4bc675cdacf5ff5a8fd8870b7276bae400
4
- data.tar.gz: 576665c4765eabbcc5710dde17a20f6d5643841d
3
+ metadata.gz: 962fbbda316d3b4978d438a306e22b9ceaf73318
4
+ data.tar.gz: 6a8450056a7014598d26b7237583165cbca59bcc
5
5
  SHA512:
6
- metadata.gz: d03bb23f83f51ee41c77b6abeb8911fdc356c095b4edbd50d7d46477ad8ad029c8b45bc57d66423a254c9199cbe08be68c6e152503d19abddbf72791f6b2adc6
7
- data.tar.gz: 617611843ed9a6cf44335d890ddbad19f03f8e79cbd2ff6777725128f2e36d737ee64de2c92d199531650073c5073b528a410eb343a3f62372e50d41a4998524
6
+ metadata.gz: e5d9b28f6fa8f5f1240bd31ecbf6928e618910a3806640af3f8722ed24d9897894daf260b1aa44e235799791a20385b7e3433b28dad04664f23714eae134555a
7
+ data.tar.gz: 4a2c331acc2ff325a8d343f49253b74dab40cb755de3cd3269e1514c397bfea8c454fa5d4f501dddb4d8e779b859021ab3d5654b7ae9d129e03aa87b89d90d19
@@ -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.3.0 Add new resume list API (/consumer/resumes)
5
6
  * 20.2.1 `class << self` for classes with all class methods. DRY up the URI building for Cover Letter Update & Delete.
6
7
  * 20.2.0 Adding job insights client
7
8
  * 20.1.1 Having nil reponses behave more like we did pre ruby 2.2 so as not to break downstream peeps
@@ -0,0 +1,22 @@
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 Resumes < Base
15
+ def self.get(args={})
16
+ uri = Cb.configuration.uri_resumes
17
+ query_params = args[:site] ? { site: args[:site] } : { }
18
+ cb_client.cb_get(uri, headers: headers(args), query: query_params)
19
+ end
20
+ end
21
+ end
22
+ end
@@ -1,4 +1,4 @@
1
- # Copyright 2015 CareerBuilder, LLC
1
+ # Copyright 2016 CareerBuilder, LLC
2
2
  # Licensed under the Apache License, Version 2.0 (the "License");
3
3
  # you may not use this file except in compliance with the License.
4
4
  # You may obtain a copy of the License at
@@ -74,8 +74,8 @@ module Cb
74
74
  @uri_job_branding ||= '/branding'
75
75
  @uri_job_category_search ||= '/v1/categories'
76
76
  @uri_job_find ||= '/v3/Job'
77
- @uri_job_insights ||= '/consumer/job-insights'
78
77
  @uri_job_industry_search ||= '/v1/industrycodes'
78
+ @uri_job_insights ||= '/consumer/job-insights'
79
79
  @uri_job_search ||= '/consumer/jobs/search/'
80
80
  @uri_languages ||= '/consumer/datalist/languages'
81
81
  @uri_recommendation_for_job ||= '/v1/Recommendations/ForJob'
@@ -90,6 +90,7 @@ module Cb
90
90
  @uri_resume_list ||= '/v3/resume/list'
91
91
  @uri_resume_language_codes ||= '/v1/languagecodes'
92
92
  @uri_resume_education ||= '/consumer/datalist/ResumeEducation'
93
+ @uri_resumes ||= '/consumer/resumes'
93
94
  @uri_saved_search_retrieve ||= '/cbapi/savedsearches/:did'
94
95
  @uri_saved_search_create ||= '/v2/savedsearch/create'
95
96
  @uri_saved_search_update ||= '/cbapi/SavedSearches'
@@ -1,4 +1,4 @@
1
- # Copyright 2015 CareerBuilder, LLC
1
+ # Copyright 2016 CareerBuilder, LLC
2
2
  # Licensed under the Apache License, Version 2.0 (the "License");
3
3
  # you may not use this file except in compliance with the License.
4
4
  # You may obtain a copy of the License at
@@ -83,6 +83,10 @@ module Cb
83
83
  Cb::Clients::Recommendation
84
84
  end
85
85
 
86
+ def resumes
87
+ Cb::Clients::Resumes
88
+ end
89
+
86
90
  def saved_search
87
91
  Cb::Clients::SavedSearch
88
92
  end
@@ -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.2.1'
12
+ VERSION = '20.3.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.2.1
4
+ version: 20.3.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-16 00:00:00.000000000 Z
11
+ date: 2016-03-17 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/resumes.rb
227
228
  - lib/cb/clients/saved_search.rb
228
229
  - lib/cb/clients/talent_network.rb
229
230
  - lib/cb/clients/user.rb